mirror of
https://github.com/zhigang1992/react-native-web.git
synced 2026-04-24 04:25:27 +08:00
Update jest
This commit is contained in:
@@ -2,9 +2,10 @@
|
||||
|
||||
module.exports = {
|
||||
coveragePathIgnorePatterns: ['/node_modules/', '<rootDir>/packages/react-native-web/src/vendor/'],
|
||||
modulePathIgnorePatterns: ['<rootDir>/packages/react-native-web/dist/'],
|
||||
rootDir: process.cwd(),
|
||||
roots: ['<rootDir>/packages'],
|
||||
setupFiles: ['raf/polyfill'],
|
||||
setupFiles: ['jest-canvas-mock'],
|
||||
setupTestFrameworkScriptFile: require.resolve('./setupFramework.js'),
|
||||
snapshotSerializers: ['enzyme-to-json/serializer'],
|
||||
testEnvironment: 'jsdom',
|
||||
|
||||
Reference in New Issue
Block a user