File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
docs/svelte-testing-library Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -35,11 +35,11 @@ with any testing framework and runner you're comfortable with.
3535 ```
3636
37374. You'll need to compile the Svelte components before using them in Jest, so
38- we need to install the [svelte-jest](https://github.com/ktsn/svelte-jest)
39- transformer
38+ we need to install
39+ [jest-transform-svelte](https://github.com/rspieker/jest-transform-svelte)
4040
4141 ```
42- npm install --save-dev svelte- jest
42+ npm install --save-dev jest-transform-svelte
4343 ```
4444
45455. Add the following Jest configuration to your `package.json`
@@ -49,7 +49,7 @@ with any testing framework and runner you're comfortable with.
4949 "jest": {
5050 "transform": {
5151 "^.+\\.js$": "babel-jest",
52- "^.+\\.svelte$": "svelte- jest"
52+ "^.+\\.svelte$": "jest-transform-svelte "
5353 },
5454 "moduleFileExtensions": ["js", "json", "svelte"]
5555 }
You can’t perform that action at this time.
0 commit comments