1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-07-04 22:02:35 +00:00
trezor-wallet/jest.config.js
Vladimir Volek a29901a11d Lint rest
2019-02-28 17:54:23 +01:00

28 lines
691 B
JavaScript

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