Skip to content
This repository was archived by the owner on Jan 26, 2019. It is now read-only.

Commit 5589c0c

Browse files
authored
1 parent 1dcfa1d commit 5589c0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-scripts/scripts/utils/createJestConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ module.exports = (resolve, rootDir) => {
2626
collectCoverageFrom: ['src/**/*.{js,jsx,ts,tsx}'],
2727
setupFiles: [resolve('config/polyfills.js')],
2828
setupTestFrameworkScriptFile: setupTestsFile,
29-
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
29+
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json'],
3030
testMatch: [
3131
'<rootDir>/src/**/__tests__/**/*.ts?(x)',
3232
'<rootDir>/src/**/?(*.)(spec|test).ts?(x)',

0 commit comments

Comments
 (0)