Incorrect @swc/jest description
pcjmfranken opened this issue · comments
Peter Franken commented
From
website/pages/docs/usage/jest.md
Line 3 in 35da4af
To make your Jest tests run faster, you can swap out the default JavaScript-based runner (
ts-jest
) for a drop-in Rust replacement using SWC.
The "default" Jest runner for TypeScript is actually1 Babel with @babel/preset-typescript
.
Neither @swc/jest
nor the Babel TypeScript setup support type-checking, whilst ts-jest
does.
This makes @swc/jest
a drop-in replacement for the actual default runner, but not for the one that is mentioned :)
Footnotes
Lee Robinson commented
Fixed here - thank you!