Skip to content

Commit 6e530aa

Browse files
authored
Add warning about enableTsDiagnostics
1 parent d80d681 commit 6e530aa

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,8 @@ If you want to enable Syntactic & Semantic TypeScript error reporting you can en
237237
}
238238
```
239239

240+
**Note:** This is an experimental feature, comes with no guarantees and could be removed if it causes more problems than it solves. Testing is not the place to look for type errors. That should be done separately. Moreover, ts-jest only processes the files that are passed in by jest. It doesn't read files off the disk by default which is why `enableTsDiagnostics` will hurt performance compared to the normal use case.
241+
240242
### Ignore coverage on decorators
241243

242244
**Note:** This is an experimental feature, comes with no guarantees and could be removed if it causes more problems than it solves

0 commit comments

Comments
 (0)