Expect build params in remote client as json
parent
a00776d837
commit
a4ff4108b1
|
|
@ -33,7 +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).toContain(`\\"${element}\\":\\"${buildParameter[element]}\\"`);
|
expect(file).toContain(`"${element}":"${buildParameter[element]}"`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const inputKeys = Object.getOwnPropertyNames(Input);
|
const inputKeys = Object.getOwnPropertyNames(Input);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue