We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
tsconfig.json
1 parent 2307a8d commit 8737c07Copy full SHA for 8737c07
1 file changed
packages/jest/plugins/resolver.ts
@@ -11,7 +11,8 @@ function getCompilerSetup(rootDir: string) {
11
const tsConfigPath =
12
ts.findConfigFile(rootDir, ts.sys.fileExists, 'tsconfig.spec.json') ||
13
ts.findConfigFile(rootDir, ts.sys.fileExists, 'tsconfig.test.json') ||
14
- ts.findConfigFile(rootDir, ts.sys.fileExists, 'tsconfig.jest.json');
+ ts.findConfigFile(rootDir, ts.sys.fileExists, 'tsconfig.jest.json') ||
15
+ ts.findConfigFile(rootDir, ts.sys.fileExists, 'tsconfig.json');
16
17
if (!tsConfigPath) {
18
console.error(
0 commit comments