Skip to content

Commit

Permalink
chore: add jest configs to pass tests
Browse files Browse the repository at this point in the history
- Jest hasn't supported the exports field yet, so we have to use a workaround some thing like this.
  - jestjs/jest#9771
  • Loading branch information
diescake committed Nov 11, 2021
1 parent 6f68bc6 commit b83c7e6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions package.json
Expand Up @@ -48,5 +48,10 @@
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.26.1",
"eslint-plugin-react-hooks": "^4.2.0"
},
"jest": {
"moduleNameMapper": {
"eslint/use-at-your-own-risk": "eslint/lib/unsupported-api.js"
}
}
}

0 comments on commit b83c7e6

Please sign in to comment.