chore: use TSTyche for type testing#6525
Closed
mrazauskas wants to merge 11 commits into
Closed
Conversation
This was referenced Feb 25, 2026
This was referenced Apr 25, 2026
This was referenced May 6, 2026
This was referenced May 7, 2026
This was referenced May 7, 2026
This was referenced May 11, 2026
Puppo
added a commit
to Puppo/fastify-constraints
that referenced
this pull request
May 14, 2026
- Replace tsd with tstyche for type testing - Update test:types script to use tstyche - Convert initialization.test-d.ts to initialization.tst.ts - Update index.d.ts to use ES module export syntax PR of Reference: - fastify/fastify#6532 - fastify/fastify#6525
This was referenced May 14, 2026
Member
|
@mrazauskas as soon as you have a moment, could you resolve the conflicts in this PR so we can proceed with removing |
This was referenced May 18, 2026
Contributor
Author
Puppo
added a commit
to Puppo/fastify-constraints
that referenced
this pull request
May 18, 2026
- Replace tsd with tstyche for type testing - Update test:types script to use tstyche - Convert initialization.test-d.ts to initialization.tst.ts - Update index.d.ts to use ES module export syntax PR of Reference: - fastify/fastify#6532 - fastify/fastify#6525
Puppo
added a commit
to Puppo/fastify-constraints
that referenced
this pull request
May 18, 2026
- Replace tsd with tstyche for type testing - Update test:types script to use tstyche - Convert initialization.test-d.ts to initialization.tst.ts - Update index.d.ts to use ES module export syntax PR of Reference: - fastify/fastify#6532 - fastify/fastify#6525
simoneb
pushed a commit
to nearform/fastify-constraints
that referenced
this pull request
May 18, 2026
* refactor(types): migrate from tsd to tstyche - Replace tsd with tstyche for type testing - Update test:types script to use tstyche - Convert initialization.test-d.ts to initialization.tst.ts - Update index.d.ts to use ES module export syntax PR of Reference: - fastify/fastify#6532 - fastify/fastify#6525 * refactor(types): add toBeCallableWith assertion for app.register * refactor(types): add route-level constraints assertion * refactor(types): add child.get constraints assertion * Apply suggestions from code review Co-authored-by: Tom Mrazauskas <tom@mrazauskas.de> * Apply suggestions from code review Co-authored-by: Tom Mrazauskas <tom@mrazauskas.de> * Update test/types/initialization.tst.ts * fix(scripts): update test command to run all test files * refactor(types): update type definitions and test initialization --------- Co-authored-by: Tom Mrazauskas <tom@mrazauskas.de>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Close #6033
Checklist
npm run test && npm run benchmark --if-presentand the Code of conduct