Skip to content

Commit ade310b

Browse files
acidicXAlexZeitler
authored andcommitted
test: add timestamps option to log output
1 parent bb25ee5 commit ade310b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/compose.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -899,7 +899,8 @@ describe('logs command', (): void => {
899899
timestamps: true
900900
})
901901

902-
expect(std.out.includes('compose_test_proxy')).toBeTruthy()
902+
const currentDate = new Date().toISOString().slice(0, 10)
903+
expect(std.out.includes(currentDate)).toBeTruthy()
903904
await compose.downAll({ cwd: path.join(__dirname), log: logOutput })
904905
})
905906
})

0 commit comments

Comments
 (0)