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