Skip to content

Commit

Permalink
Use 'setupFilesAfterEnv' instead of the (deprecated) 'setupTestFramew…
Browse files Browse the repository at this point in the history
…orkScriptFile'
  • Loading branch information
smockle committed Sep 24, 2019
1 parent 891d1b7 commit 4194399
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module.exports = {
cacheDirectory: '.test',
collectCoverage: true,
collectCoverageFrom: [
'src/*.js'
],
setupTestFrameworkScriptFile: '<rootDir>/src/utils/test-matchers.js'
collectCoverageFrom: ['src/*.js'],
setupFilesAfterEnv: ['<rootDir>/src/utils/test-matchers.js']
}

0 comments on commit 4194399

Please sign in to comment.