Skip to content

Commit e4e0b55

Browse files
author
Larry Botha
committed
test(jest): configure jest to transform svelte TypeScript files
1 parent 4584852 commit e4e0b55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/config/jest.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module.exports = {
1414
testMatch: ['<rootDir>/test/specs/**/*.spec.js'],
1515

1616
transform: {
17-
'^.+\\.svelte$': 'svelte-jester',
17+
'^.+\\.svelte$': ['svelte-jester', {preprocess: true}],
1818
/**
1919
* transform any svelte components in node_modules with svelte-jester
2020
*/

0 commit comments

Comments
 (0)