Skip to content

Commit 364f8a3

Browse files
Copilothzhangxyz
andauthored
Replace ts-jest with @swc/jest for Jest TypeScript transforms
Agent-Logs-Url: https://github.com/USTC-KnowledgeComputingLab/ds/sessions/d8688cd9-2efc-4773-acb9-b665cf6559cb Co-authored-by: hzhangxyz <11623447+hzhangxyz@users.noreply.github.com>
1 parent 5380967 commit 364f8a3

6 files changed

Lines changed: 646 additions & 338 deletions

File tree

egg/jest.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ export default {
33
collectCoverage: true,
44
extensionsToTreatAsEsm: [".mts"],
55
transform: {
6-
"^.+\\.m?tsx?$": ["ts-jest", {}],
6+
"^.+\\.m?tsx?$": ["@swc/jest"],
77
},
88
};

0 commit comments

Comments
 (0)