diff options
Diffstat (limited to 'jest.config.json')
| -rw-r--r-- | jest.config.json | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/jest.config.json b/jest.config.json index 4907484..46f62f4 100644 --- a/jest.config.json +++ b/jest.config.json @@ -7,5 +7,8 @@ "^\\$lib(.*)$": "<rootDir>/src/lib$1", "^\\$app(.*)$": [".svelte/dev/runtime/app/*", ".svelte/build/runtime/app/*"] }, - "moduleFileExtensions": ["js", "svelte"] + "moduleFileExtensions": ["js", "svelte"], + "moduleNameMapper": { + "^\\$(.*)$": "<rootDir>/src$1" + } } |