Skip to content
This repository was archived by the owner on Jun 10, 2019. It is now read-only.

Commit 018f963

Browse files
alexspencerickr
authored andcommitted
test fix
1 parent f37aa4e commit 018f963

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@
7575
"build-storybook": "build-storybook"
7676
},
7777
"jest": {
78+
"moduleDirectories": [
79+
"node_modules",
80+
"src"
81+
],
7882
"collectCoverageFrom": [
7983
"src/**/*.{js,jsx}"
8084
],

scripts/test.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,5 @@ require('../config/env');
2020
const jest = require('jest');
2121
const argv = process.argv.slice(2);
2222

23-
// Watch unless on CI or in coverage mode
24-
if (!process.env.CI && argv.indexOf('--coverage') < 0) {
25-
argv.push('--watch');
26-
}
2723

2824
jest.run(argv);

0 commit comments

Comments
 (0)