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
Just to draw your attention: jest-runner-tsd was added to package.json since #360, but this runner is not used. It should be invoked via Jest (see Configuration), but right now type tests are run directly via tsd.
You can simply remove jest-runner-tsd, because it is not used.
jest-runner-tsd brings in several dependencies that are also not used. One of them is tsd-lite and it is deprecated. I was maintaining this fork for sometime, it was created to solve several limitations of tsd. For example, it was manageable to test types on several versions of TypeScript. The solution was rather clumsy, so I build a new type testing tool TSTyche (http://github.com/tstyche/tstyche).
I would recommend using TSTyche, because it:
can test types agains specific version or version ranges of TypeScript: tstyche --target 5.2, tstyche --target '>=5.0',
has test() and describe() with .skip and .only,
brings in zero dependencies and its install size is only 235kB (the install size of tsd is 48MB).
If it sounds interesting, I would be happy to open migration PR.
The text was updated successfully, but these errors were encountered:
Just to draw your attention:
jest-runner-tsd
was added topackage.json
since #360, but this runner is not used. It should be invoked via Jest (see Configuration), but right now type tests are run directly viatsd
.You can simply remove
jest-runner-tsd
, because it is not used.jest-runner-tsd
brings in several dependencies that are also not used. One of them istsd-lite
and it is deprecated. I was maintaining this fork for sometime, it was created to solve several limitations oftsd
. For example, it was manageable to test types on several versions of TypeScript. The solution was rather clumsy, so I build a new type testing tool TSTyche (http://github.com/tstyche/tstyche).I would recommend using TSTyche, because it:
tstyche --target 5.2
,tstyche --target '>=5.0'
,test()
anddescribe()
with.skip
and.only
,tsd
is 48MB).If it sounds interesting, I would be happy to open migration PR.
The text was updated successfully, but these errors were encountered: