]> git.r.bdr.sh - rbdr/forum/blob - jest.config.json
3e47287cf185e0ad679317ecd570aa48116d6cc1
[rbdr/forum] / jest.config.json
1 {
2 "transform": {
3 "^.+\\.js$": "babel-jest",
4 "^.+\\.svelte$": "svelte-jester"
5 },
6 "moduleNameMapper": {
7 "^\\$/config/config$": "<rootDir>/test_utils/config.js",
8 "^\\$lib(.*)$": "<rootDir>/src/lib$1",
9 "^\\$app(.*)$": [".svelte/dev/runtime/app/*", ".svelte/build/runtime/app/*"],
10 "^\\$(.*)$": "<rootDir>/src$1"
11 },
12 "moduleFileExtensions": ["js", "svelte"]
13 }