Fix cloud runner test - format secret names for validation

pull/461/head
Frostebite 2022-09-17 03:22:04 +01:00
parent d0b850169b
commit c5a37b5086
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ describe('Cloud Runner', () => {
const newLinePurgedFile = file
.replace(/\s+/g, '')
.replace(new RegExp(`\\[${CloudRunnerStatics.logPrefix}\\]`, 'g'), '');
for (const element of environmentVariables) {
for (const element of [...environmentVariables, ...secrets]) {
if (element.value !== undefined && typeof element.value !== 'function') {
if (typeof element.value === `string`) {
element.value = element.value.replace(/\s+/g, '');