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 c4bbb2b commit c1df0c8Copy full SHA for c1df0c8
packages/jest/index.ts
@@ -28,7 +28,7 @@ function getJestTransformConfig(jestConfig: JestConfig26 | JestConfig27): Option
28
29
export = {
30
process(src: string, path: string, jestConfig: JestConfig26 | JestConfig27) {
31
- if (/\.(t|j)sx?$/.test(path)) {
+ if (/\.(tsx?|jsx?|mjs)$/.test(path)) {
32
const hash = xxh64(src).toString(16)
33
const cacheKey = `${path}-${hash}`
34
const maybeCachedEntry = Cache.get(cacheKey)
0 commit comments