1const path = require('path'); 2 3const roots = ['__mocks__', 'src']; 4 5module.exports = { 6 testEnvironment: 'node', 7 testRegex: '/__tests__/.*(test|spec)\\.[jt]sx?$', 8 watchPlugins: ['jest-watch-typeahead/filename', 'jest-watch-typeahead/testname'], 9 rootDir: path.resolve(__dirname), 10 displayName: require('./package').name, 11 roots, 12 setupFiles: ['<rootDir>/e2e/setup.ts'], 13 clearMocks: true, 14}; 15