diff options
Diffstat (limited to 'jest.config.js')
-rw-r--r-- | jest.config.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/jest.config.js b/jest.config.js index 264014997..964e4d4e6 100644 --- a/jest.config.js +++ b/jest.config.js | |||
@@ -20,7 +20,7 @@ module.exports = { | |||
20 | collectCoverage: true, | 20 | collectCoverage: true, |
21 | 21 | ||
22 | // An array of glob patterns indicating a set of files for which coverage information should be collected | 22 | // An array of glob patterns indicating a set of files for which coverage information should be collected |
23 | // collectCoverageFrom: undefined, | 23 | collectCoverageFrom: ['src/**/*.{js,jsx,ts,tsx}', '!src/internal-api'], |
24 | 24 | ||
25 | // The directory where Jest should output its coverage files | 25 | // The directory where Jest should output its coverage files |
26 | coverageDirectory: 'coverage', | 26 | coverageDirectory: 'coverage', |
@@ -117,9 +117,7 @@ module.exports = { | |||
117 | // rootDir: undefined, | 117 | // rootDir: undefined, |
118 | 118 | ||
119 | // A list of paths to directories that Jest should use to search for files in | 119 | // A list of paths to directories that Jest should use to search for files in |
120 | roots: [ | 120 | roots: ['src/', 'test/'], |
121 | 'src' | ||
122 | ], | ||
123 | 121 | ||
124 | // Allows you to use a custom runner instead of Jest's default test runner | 122 | // Allows you to use a custom runner instead of Jest's default test runner |
125 | // runner: "jest-runner", | 123 | // runner: "jest-runner", |