Skip to content

Commit

Permalink
[enhancement: #26] Add .mjs specific notation
Browse files Browse the repository at this point in the history
  • Loading branch information
rossyman committed Jul 24, 2022
1 parent 9333a14 commit 4ae35d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion preset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ class SvelteJestAdder extends Adder {
Preset
.editJson('jest.config.json').merge({
transform: {
'^.+\\.svelte$': ['svelte-jester', {preprocess: true}],
'^.+\\.svelte$': ['svelte-jester/dist/transformer.mjs', {preprocess: true}],
'^.+\\.ts$': 'ts-jest'
},
moduleFileExtensions: ['ts'],
Expand Down

0 comments on commit 4ae35d1

Please sign in to comment.