diff options
author | Joseph Ditton <jditton.atomic@gmail.com> | 2021-12-05 18:46:44 -0700 |
---|---|---|
committer | Joseph Ditton <jditton.atomic@gmail.com> | 2021-12-05 18:46:44 -0700 |
commit | cc0f32a75f22fed46b9ba7509518d93d5293d1ec (patch) | |
tree | 678f18959b6a98725710de32a54136b2693f14c1 /package.json | |
parent | 8ca1046bf3c049f3cc135ed383a23bd3490c4f01 (diff) | |
download | locchat-cc0f32a75f22fed46b9ba7509518d93d5293d1ec.tar.gz locchat-cc0f32a75f22fed46b9ba7509518d93d5293d1ec.zip |
configure unit tests
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 5 |
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": { |