Update src/model/cloud-runner/cloud-runner.test.ts

Co-authored-by: Webber Takken <webber@takken.io>
pull/310/head
Frostebite 2021-12-29 13:46:12 +00:00 committed by GitHub
parent 725fe6d164
commit c32310ba34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ describe('Cloud Runner', () => {
expect(file).toContain(`${testSecretName}=${testSecretValue}`);
const inputKeys = Object.getOwnPropertyNames(Input);
for (const element of inputKeys) {
if (Input[element] !== undefined && typeof Input[element] != 'function') {
if (Input[element] !== undefined && typeof Input[element] !== 'function') {
expect(
file.replace(/\s+/g, '').replace(new RegExp(`\\[${CloudRunnerStatics.logPrefix}\\]`, 'g'), ''),
).toContain(`${element}=${Input[element].toString().replace(/\s+/g, '')}`);