mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-05-27 08:13:46 +00:00
Update jest dependencies
This commit is contained in:
@@ -4,6 +4,9 @@ const babelConfig = require('./babel.config.js');
|
||||
|
||||
module.exports = {
|
||||
coveragePathIgnorePatterns: ['/node_modules/', '<rootDir>/packages/react-native-web/src/vendor/'],
|
||||
fakeTimers: {
|
||||
enableGlobally: true
|
||||
},
|
||||
modulePathIgnorePatterns: [
|
||||
'<rootDir>/packages/benchmarks/',
|
||||
'<rootDir>/packages/react-native-web-docs/',
|
||||
@@ -17,7 +20,6 @@ module.exports = {
|
||||
},
|
||||
testEnvironment: 'node',
|
||||
testMatch: ['**/__tests__/**/?(*-)+(spec|test).node.[jt]s?(x)'],
|
||||
timers: 'fake',
|
||||
transform: {
|
||||
'\\.[jt]sx?$': ['babel-jest', babelConfig()]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user