We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28e1b1e commit 5d8ca69Copy full SHA for 5d8ca69
packages/jest-config/src/readConfigFileAndSetRootDir.ts
@@ -27,7 +27,9 @@ import {
27
export default async function readConfigFileAndSetRootDir(
28
configPath: string,
29
): Promise<Config.InitialOptions> {
30
- const isTS = configPath.endsWith(JEST_CONFIG_EXT_TS || JEST_CONFIG_EXT_CTS);
+ const isTS =
31
+ configPath.endsWith(JEST_CONFIG_EXT_TS) ||
32
+ configPath.endsWith(JEST_CONFIG_EXT_CTS);
33
const isJSON = configPath.endsWith(JEST_CONFIG_EXT_JSON);
34
let configObject;
35
0 commit comments