1 | module.exports = {
|
2 | restoreMocks: true,
|
3 | clearMocks: true,
|
4 | collectCoverageFrom: [
|
5 | "lib/**/*.js",
|
6 | "index.js",
|
7 | "!**/node_modules/**",
|
8 | ],
|
9 | coverageDirectory: "coverage",
|
10 | coverageThreshold: {
|
11 | global: {
|
12 | branches: 100,
|
13 | functions: 100,
|
14 | lines: 100,
|
15 | statements: 100,
|
16 | },
|
17 | },
|
18 | testRegex: /\.test\.jsx?/.source,
|
19 | };
|