There was an error while loading. Please reload this page.
1 parent c383b44 commit 39e697cCopy full SHA for 39e697c
docs/svelte-testing-library/setup.md
@@ -74,20 +74,10 @@ with any testing framework and runner you're comfortable with.
74
75
## Typescript
76
77
-In order to support Typescript, you need to enable `preprocess`.
78
-
79
-1. Update your jest configuration
80
81
- ```json
82
- {
83
- "jest": {
84
- "transform": {
85
- "^.+\\.svelte$": ["svelte-jester", { "preprocess": true }]
86
- },
87
- "moduleFileExtensions": ["js", "ts", "svelte"]
88
- }
89
90
- ```
+To use Typescript, you'll need to install and configure `svelte-preprocess` and
+`ts-jest`. For full instructions, see the
+[`svelte-jester` docs](https://github.com/mihar-22/svelte-jester#typescript)
+docs.
91
92
## Babel / Preprocessors
93
0 commit comments