]> git.r.bdr.sh - rbdr/forum/blobdiff - jest.config.json
Update dependencies
[rbdr/forum] / jest.config.json
index 49074845bf82321065cafafafe6d2098976820c0..46f62f4a66b3befab4d25df0b985ecccfc9e23f2 100644 (file)
@@ -7,5 +7,8 @@
     "^\\$lib(.*)$": "<rootDir>/src/lib$1",
     "^\\$app(.*)$": [".svelte/dev/runtime/app/*", ".svelte/build/runtime/app/*"]
   },
     "^\\$lib(.*)$": "<rootDir>/src/lib$1",
     "^\\$app(.*)$": [".svelte/dev/runtime/app/*", ".svelte/build/runtime/app/*"]
   },
-  "moduleFileExtensions": ["js", "svelte"]
+  "moduleFileExtensions": ["js", "svelte"],
+  "moduleNameMapper": {
+    "^\\$(.*)$": "<rootDir>/src$1"
+  }
 }
 }