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 34a0aa5 commit 55f554eCopy full SHA for 55f554e
packages/jest-config/src/readConfigFileAndSetRootDir.ts
@@ -49,8 +49,8 @@ export default async function readConfigFileAndSetRootDir(
49
if (
50
!(
51
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
+ // Likely ESM in a file interpreted as CJS, which means it needs to be
+ // compiled. We ignore the error and try to load it with a loader.
54
error.message.match(/Unexpected token '(export|import)'/)
55
)
56
) {
0 commit comments