chore: configure jest to resolve source files for packages

This commit is contained in:
satyajit.happy
2019-08-27 08:54:17 +02:00
committed by Satyajit Sahoo
parent 935c588000
commit fb9d1837a1
4 changed files with 19 additions and 13 deletions

View File

@@ -59,7 +59,10 @@
},
"setupFiles": [
"<rootDir>/jest/setup.js"
]
],
"moduleNameMapper": {
"@react-navigation/([^/]+)": "<rootDir>/packages/$1/src"
}
},
"name": "react-navigation"
}