Skip to content

Commit

Permalink
Adapt Jest configuration for Node 6
Browse files Browse the repository at this point in the history
  • Loading branch information
dubzzz committed Feb 22, 2019
1 parent 4295415 commit 0b7e94d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions jest.e2e.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
const conf = require('./jest.config');

module.exports = {
...conf,
module.exports = Object.assign(conf, {
testMatch: ['<rootDir>/test/e2e/**/*.spec.ts']
};
});
5 changes: 2 additions & 3 deletions jest.unit.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
const conf = require('./jest.config');

module.exports = {
...conf,
module.exports = Object.assign(conf, {
testMatch: ['<rootDir>/test/unit/**/*.spec.ts'],
coverageDirectory: 'coverage',
coveragePathIgnorePatterns: ['<rootDir>/lib/', '<rootDir>/test/', '<rootDir>/node_modules/']
};
});

0 comments on commit 0b7e94d

Please sign in to comment.