You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.
Support for TypeScript 6 or any new features will not be added.
Meet TSTyche
I recommend migrating to TSTyche – The Essential Type Testing Tool.
It is a freshly published type testing tool. I developed it recently. A simple idea (jest-community/jest-runner-tsd#32) turned into two years of researching and tinkering. TSTyche has a lot to offer, here are just few highlights:
testing on specific versions of Typescript: tstyche --target 5.0,latest;
helpers like test() and describe() with .only, .skip run mode flags;
expect style assertions to compare two types, or two expressions, or a type with an expression, or an expression with a type;
.toRaiseError() matcher to capture exact error message.
tsd-lite
is deprecated.Support for TypeScript 6 or any new features will not be added.
Meet TSTyche
I recommend migrating to TSTyche – The Essential Type Testing Tool.
It is a freshly published type testing tool. I developed it recently. A simple idea (jest-community/jest-runner-tsd#32) turned into two years of researching and tinkering. TSTyche has a lot to offer, here are just few highlights:
tstyche --target 5.0,latest
;test()
anddescribe()
with.only
,.skip
run mode flags;expect
style assertions to compare two types, or two expressions, or a type with an expression, or an expression with a type;.toRaiseError()
matcher to capture exact error message.Visit https://tstyche.org to view the full documentation.
Migration
As a reference, here are the few migration / usage PRs:
Jest
Config
type test to TSTyche jestjs/jest#14687RedwoodJS
Typegoose
better-enums
.d.ts
declaration testing in a JavaScript package:docusaurus-remark-plugin-tab-blocks
The text was updated successfully, but these errors were encountered: