1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-10-31 21:18:54 +00:00
trezor-wallet/jest.config.js

24 lines
534 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',
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',
],
setupFiles: [
'./support/setupJest.js',
],
2019-02-05 13:49:34 +00:00
transform: {
'^.+\\.jsx?$': 'babel-jest',
},
2018-07-30 11:44:39 +00:00
};