Skip to content
/ jest Public
forked from jestjs/jest

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 8e0a0ea commit 3cd0076
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
11 changes: 8 additions & 3 deletions e2e/__tests__/nativeEsm.test.ts
Original file line number Diff line number Diff line change
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
11 changes: 0 additions & 11 deletions jest.config.ci.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,4 @@

module.exports = {
...require('./jest.config'),
coverageReporters: ['json'],
reporters: [
[
'jest-junit',
{outputDirectory: 'reports/junit', outputName: 'js-test-results.xml'},
],
[
'jest-silent-reporter',
{showPaths: true, showWarnings: true, useDots: true},
],
],
};

0 comments on commit 3cd0076

Please sign in to comment.