Expect build params in remote client as json
parent
7f70786247
commit
accb5cef3d
|
|
@ -33,9 +33,7 @@ describe('Cloud Runner', () => {
|
||||||
const buildParameterKeys = Object.keys(buildParameter);
|
const buildParameterKeys = Object.keys(buildParameter);
|
||||||
for (const element of buildParameterKeys) {
|
for (const element of buildParameterKeys) {
|
||||||
if (buildParameter[element] !== undefined) {
|
if (buildParameter[element] !== undefined) {
|
||||||
expect(file.replace('"', '').replace('\', '')).toContain(
|
expect(file).toContain(`${element}":"${buildParameter[element]}`);
|
||||||
`${element}:${buildParameter[element].replace('"', '').replace('\\', '')}`,
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const inputKeys = Object.getOwnPropertyNames(Input);
|
const inputKeys = Object.getOwnPropertyNames(Input);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue