module.exports = { roots: ['/src/', '/test/'], transform: { '^.+\\.tsx?$': 'ts-jest', '\\.m?jsx?$': 'jest-esm-transformer', }, testMatch: ['**/unit/**/*-test.ts{,x}'], moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'], setupFiles: ['/test/globals.ts', '/test/unit-test-env.ts'], setupFilesAfterEnv: ['/test/setup-test-framework.ts'], reporters: ['default', '../script/jest-actions-reporter.js'], // For now, @github Node modules required to be transformed by jest-esm-transformer transformIgnorePatterns: ['node_modules/(?!(@github))'], }