-
Notifications
You must be signed in to change notification settings - Fork 0
/
jest.config.js
26 lines (26 loc) · 903 Bytes
/
jest.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
module.exports = {
testPathIgnorePatterns: [
'/node_modules/',
'/examples/',
'/lib/',
'/packages/umi/src/scripts/test.js',
'/packages/umi/src/test.js',
'/packages/umi-build-dev/src/fixtures',
'/packages/umi-build-dev/src/routes/fixtures',
'/packages/umi-plugin-dva/src/fixtures',
'/packages/umi-utils/src/fixtures',
'/packages/umi-library/src/fixtures',
'/packages/umi/test/fixtures',
],
setupFilesAfterEnv: ['./jasmine.js'],
collectCoverageFrom: ['packages/**/src/**/*.{js,jsx}'],
coveragePathIgnorePatterns: [
'/packages/umi-plugin-dva/src/fixtures',
'/packages/umi-build-dev/src/fixtures',
'/packages/umi-build-dev/src/routes/fixtures',
'/packages/umi-build-dev/src/plugins/commands/generate/generators',
'/packages/umi-library/src/fixtures',
'/packages/umi-utils/src/fixtures',
'/packages/umi/test/fixtures',
],
};