Skip to content

Commit

Permalink
Improve the tests for Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
homer0 committed Jun 25, 2018
1 parent c2f4282 commit 0b0e10b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .jestrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"unmockedModulePathPatterns": ["/node_modules/", "/mocks/"],
"coveragePathIgnorePatterns": ["/node_modules/", "/mocks/"],
"collectCoverage": true,
"timers": "fake"
"timers": "fake",
"testEnvironment": "node"
}
1 change: 1 addition & 0 deletions utils/scripts/test
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ new JestExRunner('./.jestrc.json', {
addTransformer: true,
addStubs: true,
cache: false,
runInParallel: false,
})
.run()
.then(() => logger.success('Yay! all the unit tests passed!'))
Expand Down

0 comments on commit 0b0e10b

Please sign in to comment.