You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trezor-wallet/jest.config.js

33 lines
729 B

6 years ago
module.exports = {
rootDir: './src',
automock: false,
coverageDirectory: '../coverage/',
6 years ago
collectCoverage: true,
testURL: 'http://localhost',
modulePathIgnorePatterns: [
'node_modules',
'utils/build.js',
'utils/windowUtils.js',
'utils/promiseUtils.js',
'utils/networkUtils.js',
6 years ago
],
collectCoverageFrom: [
'utils/**.js',
'reducers/utils/**.js',
],
coverageThreshold: {
global: {
branches: 100,
functions: 100,
lines: 100,
statements: 100,
},
},
setupFiles: [
'./support/setupJest.js',
],
transform: {
'^.+\\.jsx?$': 'babel-jest',
},
6 years ago
};