Skip to content

Instantly share code, notes, and snippets.

View YacheLee's full-sized avatar

Ya-Che Li YacheLee

  • Doorstead
  • Taiwan
View GitHub Profile
@YacheLee
YacheLee / jest_config.json
Created March 10, 2022 02:25 — forked from LauraBeatris/jest_config.json
Jest Configuration with Root Import
{
"jest": {
"testMatch": [
"**/__tests__/**/*.test.js"
],
"moduleNameMapper": {
"^~/(.*)": "<rootDir>/src/$1"
},
"setupFilesAfterEnv": [
"@testing-library/react/cleanup-after-each",