mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
4127583224
* add jest-it-up dependancy * add reporter * post test run jest-it-up * Add CI check * update coverage * deduplicate dependancies
20 lines
520 B
JavaScript
20 lines
520 B
JavaScript
module.exports = {
|
|
displayName: '/development',
|
|
collectCoverageFrom: ['<rootDir>/**/*.js'],
|
|
coverageDirectory: '../jest-coverage/development/',
|
|
coverageReporters: ['html', 'text-summary', 'json-summary'],
|
|
coverageThreshold: {
|
|
'./development/build/transforms/**/*.js': {
|
|
branches: 100,
|
|
functions: 100,
|
|
lines: 100,
|
|
statements: 100,
|
|
},
|
|
},
|
|
resetMocks: true,
|
|
restoreMocks: true,
|
|
testEnvironment: 'node',
|
|
testMatch: ['<rootDir>/build/**/*.test.js'],
|
|
testTimeout: 2500,
|
|
};
|