Skip to content

Commit

Permalink
[enhancement: #26] Don't use relative modules path for svelte-jester …
Browse files Browse the repository at this point in the history
…transformer
  • Loading branch information
rossyman committed Jul 24, 2022
1 parent 4dc1168 commit b78d96e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@rossyman/svelte-add-jest",
"version": "1.3.2",
"version": "1.3.3",
"description": "SvelteKit adder for Jest unit testing",
"license": "MIT",
"keywords": [
Expand Down
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$': ['./node_modules/svelte-jester/dist/transformer.mjs', {preprocess: true}],
'^.+\\.svelte$': ['svelte-jester/dist/transformer.mjs', {preprocess: true}],
'^.+\\.ts$': 'ts-jest'
},
moduleFileExtensions: ['ts'],
Expand Down

0 comments on commit b78d96e

Please sign in to comment.