diff options
| author | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2021-04-19 21:04:59 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2021-04-19 21:04:59 +0200 |
| commit | 879fa389c2592760def75177eefbd3193e1845c9 (patch) | |
| tree | 8648bb1790cea8b482b18ef10b4b5cab508b0ba3 /jest.config.json | |
| parent | 77182aa8d0fa96b594d1c2582a168e2ebe15964d (diff) | |
Add tests for first batch of components
- Glyph
- Forum List
- Error Block
- Post
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" + } } |