Skip to content

Commit

Permalink
chore: replace esbuild with SWC to fix tests
Browse files Browse the repository at this point in the history
Due to esbuild looking for `ock(` string, code containing something like `Clock()` requires a Babel plugin to run, which is odd.

Refs: aelbore/esbuild-jest#57
  • Loading branch information
xzhayon committed Jul 28, 2023
1 parent 736c436 commit e8ee082
Show file tree
Hide file tree
Showing 3 changed files with 7,870 additions and 10,238 deletions.
2 changes: 1 addition & 1 deletion jest.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"@imho/(.+)": "<rootDir>/packages/$1/src"
},
"transform": {
"\\.tsx?$": "esbuild-jest"
"\\.tsx?$": "@swc/jest"
}
}
Loading

0 comments on commit e8ee082

Please sign in to comment.