Skip to content

Commit

Permalink
fix jest
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrezza committed Oct 23, 2024
1 parent cd3d1b5 commit bc5386f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
10 changes: 1 addition & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,13 @@
"src/lib"
],
"transform": {
".*": "<rootDir>/testing/preprocessor.js"
".*": "<rootDir>/testing/preprocessor.js",
"^.+\\.js$": "babel-jest"
},
"transformIgnorePatterns": [
"/node_modules/(?!package-json)"
],
"extensionsToTreatAsEsm": [".ts", ".tsx", ".js"],
"moduleNameMapper": {
"\\.(css|less)$": "<rootDir>/testing/styleMock.js"
},
Expand Down

0 comments on commit bc5386f

Please sign in to comment.