1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-10-31 21:18:54 +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',
},
};