Skip to content

Commit

Permalink
Update jest config
Browse files Browse the repository at this point in the history
  • Loading branch information
djizco committed Aug 19, 2019
1 parent e779aca commit 8a93ecd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion client/config/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ module.exports = {
'^_api(.*)$': '<rootDir>/client/api/$1',
},
rootDir: path.join(__dirname, '../..'),
setupFiles: ['<rootDir>/client/config/jest.setup.js', '<rootDir>/client/config/enzyme.setup.js'],
setupFiles: [
'<rootDir>/client/config/jest.setup.js',
'<rootDir>/client/config/enzyme.setup.js',
],
testEnvironment: 'jest-environment-jsdom-global',
testMatch: [path.join(__dirname, '../../**/?(*.)+(spec|test).[tj]s?(x)')],
testURL: 'http://localhost',
Expand Down

0 comments on commit 8a93ecd

Please sign in to comment.