Skip to content

Commit

Permalink
fix(test): Add moduleNameMapper
Browse files Browse the repository at this point in the history
  • Loading branch information
fb55 committed May 23, 2022
1 parent aeeb067 commit 0eec65b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node"
"testEnvironment": "node",
"moduleNameMapper": {
"^(.*)\\.js$": "$1"
}
},
"prettier": {
"tabWidth": 4
Expand Down

0 comments on commit 0eec65b

Please sign in to comment.