const testPathIgnorePatterns = [ '<rootDir>/node_modules' , 'cypress' , 'factories' , 'helpers' , 'tests/e2e' , ] ; module . exports = { preset : 'ts-jest' , rootDir : 'tests' , globalSetup : '<rootDir>/jest.setup.js' , globalTeardown : '<rootDir>/jest.teardown.js' , testPathIgnorePatterns , globals : { 'ts-jest' : { tsconfig : { jsx : 'react' , } , } , } , } ;