summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorJoseph Ditton <jditton.atomic@gmail.com>2021-12-05 18:46:44 -0700
committerJoseph Ditton <jditton.atomic@gmail.com>2021-12-05 18:46:44 -0700
commitcc0f32a75f22fed46b9ba7509518d93d5293d1ec (patch)
tree678f18959b6a98725710de32a54136b2693f14c1 /package.json
parent8ca1046bf3c049f3cc135ed383a23bd3490c4f01 (diff)
downloadlocchat-cc0f32a75f22fed46b9ba7509518d93d5293d1ec.tar.gz
locchat-cc0f32a75f22fed46b9ba7509518d93d5293d1ec.zip
configure unit tests
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": {