Update jest dependencies

This commit is contained in:
Nicolas Gallagher
2022-07-03 16:50:06 -07:00
parent 341a9fc5c4
commit 98dc30de73
4 changed files with 2176 additions and 1943 deletions
+3 -1
View File
@@ -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()]
}