jest/examples/react-native/jest.config.js

11 lines
347 B
JavaScript

const {resolve} = require('path');
module.exports = {
preset: 'react-native',
testEnvironmentOptions: {
globalsCleanup: 'soft',
},
// this is specific to the Jest repo, not generally needed (the files we ignore will be in node_modules which is ignored by default)
transformIgnorePatterns: [resolve(__dirname, '../../packages')],
};