Skip to content

Commit fbe5429

Browse files
authored
test: switch from ts-jest to swc (#881)
1 parent b6d0354 commit fbe5429

File tree

3 files changed

+472
-249
lines changed

3 files changed

+472
-249
lines changed

jest.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module.exports = {
1212
setupFilesAfterEnv: ["<rootDir>/testHelper/setupTests.ts"],
1313
testRegex: "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
1414
transform: {
15-
"^.+\\.tsx?$": "ts-jest",
15+
"^.+\\.tsx?$": ["@swc/jest"],
1616
"^.+\\.mdx$": "@storybook/addon-docs/jest-transform-mdx"
1717
},
1818
// Below is required for Jest + Webpack handling static assets: https://jestjs.io/docs/webpack

0 commit comments

Comments
 (0)