Files
react-native-web/scripts/jest/config.js
Nicolas Gallagher 1e59e53e66 Update jest
2018-05-08 09:49:02 -07:00

14 lines
479 B
JavaScript

'use strict';
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: ['jest-canvas-mock'],
setupTestFrameworkScriptFile: require.resolve('./setupFramework.js'),
snapshotSerializers: ['enzyme-to-json/serializer'],
testEnvironment: 'jsdom',
timers: 'fake'
};