Test secrets are serialized correctly

pull/461/head
Frostebite 2022-09-17 00:56:22 +01:00
parent 3f69ca579c
commit 3350035d94
1 changed files with 6 additions and 2 deletions

View File

@ -70,12 +70,16 @@ describe('Cloud Runner', () => {
}
}
for (const element of [...environmentVariables, ...secrets]) {
if (element.value !== undefined && typeof element.value !== 'function') {
if (
element.value !== undefined &&
typeof element.value !== 'function' &&
!['UNITY_LICENSE'].includes(element.value)
) {
expect(newLinePurgedFile).toContain(`${element.name}`);
CloudRunnerLogger.log(`Contains ${element.name}`);
expect(newLinePurgedFile).toContain(`${element.name}=${element.value}`);
}
}
}, 100000);
}, 1000000);
}
});