Skip to content

Commit

Permalink
Defines test reporter on entry config
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Smalley <[email protected]>
  • Loading branch information
Tyler Smalley committed Dec 1, 2020
1 parent 4321f83 commit 574793d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions jest.config.oss.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ module.exports = {
'<rootDir>/src/plugins/*/jest.config.js',
'<rootDir>/test/*/jest.config.js',
],
reporters: ['default', '<rootDir>/packages/kbn-test/target/jest/junit_reporter'],
};
4 changes: 4 additions & 0 deletions x-pack/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,8 @@
module.exports = {
rootDir: '..',
projects: ['<rootDir>/x-pack/plugins/*/jest.config.js'],
reporters: [
'default',
['<rootDir>/packages/kbn-test/target/jest/junit_reporter', { reportName: 'X-Pack Jest Tests' }],
],
};

0 comments on commit 574793d

Please sign in to comment.