summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/package.json b/package.json
index 0ad974f..92a0244 100644
--- a/package.json
+++ b/package.json
@@ -89,7 +89,10 @@
"json",
"ts"
],
- "moduleDirectories": ["node_modules", "./"],
+ "moduleNameMapper": {
+ "^server/(.*)$": "<rootDir>/$1"
+ },
+ "moduleDirectories": ["node_modules"],
"rootDir": "./server",
"testRegex": ".*\\.spec\\.ts$",
"transform": {