Skip to content

Commit 5d8ca69

Browse files
committed
fix check
1 parent 28e1b1e commit 5d8ca69

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/jest-config/src/readConfigFileAndSetRootDir.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ import {
2727
export default async function readConfigFileAndSetRootDir(
2828
configPath: string,
2929
): Promise<Config.InitialOptions> {
30-
const isTS = configPath.endsWith(JEST_CONFIG_EXT_TS || JEST_CONFIG_EXT_CTS);
30+
const isTS =
31+
configPath.endsWith(JEST_CONFIG_EXT_TS) ||
32+
configPath.endsWith(JEST_CONFIG_EXT_CTS);
3133
const isJSON = configPath.endsWith(JEST_CONFIG_EXT_JSON);
3234
let configObject;
3335

0 commit comments

Comments
 (0)