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

View File

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