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