diff --git a/src/createJestConfig.ts b/src/createJestConfig.ts index 2a05fd78c..22c5faf79 100644 --- a/src/createJestConfig.ts +++ b/src/createJestConfig.ts @@ -6,7 +6,7 @@ export function createJestConfig( transform: { '.(ts|tsx)': require.resolve('ts-jest/dist'), }, - transformIgnorePatterns: ['[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$'], + transformIgnorePatterns: ['[/\\\\]node_modules[/\\\\].+\\.(js|jsx|json)$'], moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'], collectCoverageFrom: ['src/**/*.{ts,tsx}'], testMatch: ['/**/*.(spec|test).{ts,tsx}'],