Merge pull request #6 from hoppscotch/chore/jest-testing

feat: add moduleNameMapper in package.json
This commit is contained in:
Mir Arif Hasan 2022-12-20 16:21:34 +06:00 committed by GitHub
commit c34379d936
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -74,6 +74,9 @@
"ts"
],
"setupFilesAfterEnv": ["@relmify/jest-fp-ts"],
"moduleNameMapper": {
"^src/(.*)$": "<rootDir>/$1"
},
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {