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.
2 parents c4bbb2b + c1df0c8 commit 1008018Copy full SHA for 1008018
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