Refactor parameter serialization into TaskParameterSerializer

pull/310/head
Frostebite 2021-12-23 19:30:19 +00:00
parent 62ec805919
commit 2d54effec9
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ 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].replace(`\n`, ``)}`);
expect(file.replace(`\n`, ``)).toContain(`${element}=${Input[element].toString().replace(`\n`, ``)}`);
}
}
}