1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-15 21:08:57 +00:00
trezor-wallet/jest.config.js

33 lines
729 B
JavaScript
Raw Normal View History

2018-07-30 11:44:39 +00:00
module.exports = {
rootDir: './src',
automock: false,
2018-10-02 17:57:13 +00:00
coverageDirectory: '../coverage/',
2018-07-30 11:44:39 +00:00
collectCoverage: true,
testURL: 'http://localhost',
modulePathIgnorePatterns: [
'node_modules',
2019-02-25 16:05:36 +00:00
'utils/build.js',
2018-09-12 12:39:33 +00:00
'utils/windowUtils.js',
2018-09-13 11:08:25 +00:00
'utils/promiseUtils.js',
'utils/networkUtils.js',
2018-07-30 11:44:39 +00:00
],
collectCoverageFrom: [
2018-08-27 15:15:22 +00:00
'utils/**.js',
2018-10-02 17:55:22 +00:00
'reducers/utils/**.js',
],
2019-02-25 14:32:25 +00:00
coverageThreshold: {
global: {
branches: 100,
functions: 100,
lines: 100,
statements: 100,
},
},
setupFiles: [
'./support/setupJest.js',
],
2019-02-05 13:49:34 +00:00
transform: {
'^.+\\.jsx?$': 'babel-jest',
},
2018-07-30 11:44:39 +00:00
};