module.exports = { globals: { __DEV__: true }, setupFilesAfterEnv: ['/test/jest/jest.setup.js'], // noStackTrace: true, // bail: true, // cache: false, // verbose: true, // watch: true, collectCoverage: true, coverageDirectory: '/test/jest/coverage', collectCoverageFrom: [ '/mode/**/*.js' ], coverageReporters: ['json-summary', 'text', 'lcov'], coverageThreshold: { global: { // branches: 50, // functions: 50, // lines: 50, // statements: 50 } }, testMatch: [ '/test/jest/__tests__/**/*.spec.js', '/test/jest/__tests__/**/*.test.js' ], moduleFileExtensions: ['js', 'json'], moduleNameMapper: { '^~/(.*)$': '/$1', '^mode/(.*)$': '/mode/$1', '^test/(.*)$': '/test/$1' }, transform: {} }