1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-27 10:48:22 +00:00
trezor-wallet/jest.config.js

28 lines
715 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
],
2019-04-02 15:41:28 +00:00
collectCoverageFrom: ['utils/**.js', 'reducers/utils/**.js'],
2019-02-28 15:56:13 +00:00
// coverageThreshold: {
// global: {
// branches: 100,
// functions: 100,
// lines: 100,
// statements: 100,
// },
// },
2019-04-02 15:41:28 +00:00
setupFiles: ['./support/setupJest.js'],
2019-02-05 13:49:34 +00:00
transform: {
'^.+\\.jsx?$': 'babel-jest',
},
2018-07-30 11:44:39 +00:00
};