blob: 51e3f70cc9a43f98c3fb5e741066fff87db7e3ae (
plain)
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
27
28
29
30
|
module.exports = {
moduleFileExtensions: [
'js',
'html'
],
globals: {
ICON_PATH: './'
},
transform: {
'^.+\\.js$': 'babel-jest',
'^.+\\.html$': '<rootDir>/test/react/utils/htmlLoader.js'
},
moduleNameMapper: {
'^.+\\.svg$': '<rootDir>/test/react/utils/svgMock.js'
},
coveragePathIgnorePatterns: [
'<rootDir>/src/react/index.js',
'<rootDir>/src/index.js'
],
testRegex: '/test/react/.*.(spec|test)\\.jsx?$',
testPathIgnorePatterns: [
'<rootDir>/node_modules/',
],
collectCoverageFrom: [
'src/**/*.{js,jsx}'
],
coverageReporters: [
'lcov'
]
};
|