Skip to content

Commit

Permalink
log test
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Sep 8, 2021
1 parent 1366811 commit 69714cd
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions e2e/__tests__/nativeEsm.test.ts
Expand Up @@ -29,9 +29,14 @@ onNodeVersions('^12.16.0 || >=13.7.0', () => {

const {summary} = extractSummary(stderr);

expect(wrap(summary)).toMatchSnapshot();
expect(stdout).toBe('');
expect(exitCode).toBe(0);
try {
expect(wrap(summary)).toMatchSnapshot();
expect(stdout).toBe('');
expect(exitCode).toBe(0);
} catch (e) {
console.log(stderr);
throw e;
}
});
});

Expand Down

0 comments on commit 69714cd

Please sign in to comment.