module.exports = { projects: [ { displayName: 'test', testPathIgnorePatterns: [ 'build', '/cypress/', '/node_modules/(?!(jest-test))', ], modulePaths: ['', '/..'], moduleDirectories: ['src', 'node_modules'], setupFiles: ['/test/setup.js'], transform: { '^.+\\.tsx?$': 'ts-jest', '^.+\\.js$': 'babel-jest', }, testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$', moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'], snapshotSerializers: ['enzyme-to-json/serializer'], moduleNameMapper: { '\\.(css|scss)$': 'identity-obj-proxy', }, }, { runner: 'jest-runner-eslint', displayName: 'eslint', testMatch: ['/test/**/*.test.js'], }, ], }