Refactor parameter serialization into TaskParameterSerializer
parent
f0dbb459ff
commit
62ec805919
|
|
@ -32,7 +32,7 @@ describe('Cloud Runner', () => {
|
||||||
const inputKeys = Object.getOwnPropertyNames(Input);
|
const inputKeys = Object.getOwnPropertyNames(Input);
|
||||||
for (const element of inputKeys) {
|
for (const element of inputKeys) {
|
||||||
if (Input[element] !== undefined && typeof Input[element] != 'function') {
|
if (Input[element] !== undefined && typeof Input[element] != 'function') {
|
||||||
expect(file).toContain(`${element}=${Input[element]}`);
|
expect(file.replace(`\n`, ``)).toContain(`${element}=${Input[element].replace(`\n`, ``)}`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue