1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-16 05:19:12 +00:00
trezor-wallet/jest.config.js
2019-02-05 14:49:34 +01:00

24 lines
534 B
JavaScript

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