Skip to content

Commit 55f554e

Browse files
authored
Update packages/jest-config/src/readConfigFileAndSetRootDir.ts
1 parent 34a0aa5 commit 55f554e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/jest-config/src/readConfigFileAndSetRootDir.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ export default async function readConfigFileAndSetRootDir(
4949
if (
5050
!(
5151
error instanceof SyntaxError &&
52-
// likely ESM in a file interpreted as CJS, which means it needs to be
53-
// transpiled - we ignore the error and try to load it with a loader
52+
// Likely ESM in a file interpreted as CJS, which means it needs to be
53+
// compiled. We ignore the error and try to load it with a loader.
5454
error.message.match(/Unexpected token '(export|import)'/)
5555
)
5656
) {

0 commit comments

Comments
 (0)