Merge pull request #6 from hoppscotch/chore/jest-testing
feat: add moduleNameMapper in package.json
This commit is contained in:
@@ -74,6 +74,9 @@
|
|||||||
"ts"
|
"ts"
|
||||||
],
|
],
|
||||||
"setupFilesAfterEnv": ["@relmify/jest-fp-ts"],
|
"setupFilesAfterEnv": ["@relmify/jest-fp-ts"],
|
||||||
|
"moduleNameMapper": {
|
||||||
|
"^src/(.*)$": "<rootDir>/$1"
|
||||||
|
},
|
||||||
"rootDir": "src",
|
"rootDir": "src",
|
||||||
"testRegex": ".*\\.spec\\.ts$",
|
"testRegex": ".*\\.spec\\.ts$",
|
||||||
"transform": {
|
"transform": {
|
||||||
|
|||||||
Reference in New Issue
Block a user