Skip to content

Commit

Permalink
ci: log to find why tests are failing on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Sep 21, 2024
1 parent 4b6adb1 commit d44a351
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/dumper/dumper.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,20 @@ test.group('Dumper', () => {
} catch (error) {
await error.render(error, ace)

console.log(ace.ui.logger.getLogs()[0].message)
console.log(
dumper.dumpToAnsi(
{ hello: 'world' },
{
title: 'DUMP DIE',
source: {
location: fileURLToPath(new URL('', import.meta.url)),
line: 70,
},
}
)
)

assert.lengthOf(ace.ui.logger.getLogs(), 1)
assert.include(
ace.ui.logger.getLogs()[0].message,
Expand Down

0 comments on commit d44a351

Please sign in to comment.