From 879fa389c2592760def75177eefbd3193e1845c9 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Mon, 19 Apr 2021 21:04:59 +0200 Subject: Add tests for first batch of components - Glyph - Forum List - Error Block - Post --- jest.config.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'jest.config.json') 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(.*)$": "/src/lib$1", "^\\$app(.*)$": [".svelte/dev/runtime/app/*", ".svelte/build/runtime/app/*"] }, - "moduleFileExtensions": ["js", "svelte"] + "moduleFileExtensions": ["js", "svelte"], + "moduleNameMapper": { + "^\\$(.*)$": "/src$1" + } } -- cgit