Skip to content

Commit

Permalink
update jest.config.json
Browse files Browse the repository at this point in the history
  • Loading branch information
magiclen committed Mar 17, 2023
1 parent ac2f594 commit 5996ad6
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions jest.config.json
@@ -1,4 +1,13 @@
{
"preset": "ts-jest",
"testEnvironment": "node"
"extensionsToTreatAsEsm": [
".ts"
],
"transform": {
"^.+\\.[jt]sx?$": [
"ts-jest",
{
"useESM": true
}
]
}
}

0 comments on commit 5996ad6

Please sign in to comment.