]> git.r.bdr.sh - rbdr/forum/blobdiff - jest.config.json
Add tests for actions + pacts for graphql errrors
[rbdr/forum] / jest.config.json
index 49074845bf82321065cafafafe6d2098976820c0..874686de26703b3b7cbeabc1473a702ef94c4cb4 100644 (file)
@@ -5,7 +5,8 @@
   },
   "moduleNameMapper": {
     "^\\$lib(.*)$": "<rootDir>/src/lib$1",
-    "^\\$app(.*)$": [".svelte/dev/runtime/app/*", ".svelte/build/runtime/app/*"]
+    "^\\$app(.*)$": [".svelte/dev/runtime/app/*", ".svelte/build/runtime/app/*"],
+    "^\\$(.*)$": "<rootDir>/src$1"
   },
   "moduleFileExtensions": ["js", "svelte"]
 }