Remote CLI logging improvements

pull/310/head
Frostebite 2021-12-24 03:50:18 +00:00
parent 3ff1a4faa3
commit 7e6d0f430f
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ describe('Cloud Runner', () => {
const inputKeys = Object.getOwnPropertyNames(Input); const inputKeys = Object.getOwnPropertyNames(Input);
for (const element of inputKeys) { 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(`[Cloud-Runner-Agent]`, 'g'), '')).toContain( expect(file.replace(/\s+/g, '').replace(new RegExp('\\[Cloud-Runner-Agent\\]', 'g'), '')).toContain(
`${element}=${Input[element].toString().replace(/\s+/g, '')}`, `${element}=${Input[element].toString().replace(/\s+/g, '')}`,
); );
} }