UNPKG

431 BJavaScriptView Raw
1module.exports = {
2 collectCoverage: true,
3 collectCoverageFrom: [
4 './src/**/*.[jt]s?(x)'
5 ],
6 coverageDirectory: 'coverage',
7 coveragePathIgnorePatterns: [
8 '/node_modules/'
9 ],
10 moduleFileExtensions: [
11 'js',
12 'json'
13 ],
14 rootDir: '.',
15 testEnvironment: 'node',
16 testMatch: [
17 '**/__tests__/**/*.[jt]s?(x)',
18 '**/?(*.)+(spec).[tj]s?(x)'
19 ],
20 testPathIgnorePatterns: [
21 '/node_modules/'
22 ],
23};