Skip to content

Commit c8b6661

Browse files
authored
Merge pull request #4798 from easyops-cn/steve/v3-test
fix(): transform mjs/mts
2 parents 4731c18 + c725017 commit c8b6661

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/test-next/src/createJestConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export function createJestConfig({
3636
],
3737
coverageReporters: ["text-summary", process.env.CI ? "cobertura" : "lcov"],
3838
transform: {
39-
"^.+\\.[jt]sx?$": [
39+
"^.+\\.m?[jt]sx?$": [
4040
"babel-jest",
4141
{
4242
configFile: findFileUpward(cwd, "babel.config.js"),

0 commit comments

Comments
 (0)