ci: transcribe esm tests to TypeScript#4086
Merged
wellwelwel merged 9 commits intosidorares:masterfrom Feb 17, 2026
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #4086 +/- ##
=======================================
Coverage 89.95% 89.95%
=======================================
Files 86 86
Lines 13663 13663
Branches 1637 1637
=======================================
Hits 12291 12291
Misses 1372 1372
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Collaborator
Author
|
All type inconsistencies are marked with:
From here on, types are no longer a compilation test and become an integral part of the tests that are actually executed ✨ |
This was referenced Feb 17, 2026
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.
The intention is, once 100% of the tests are transcribed to TypeScript in the future, to completely remove the ./test/tsc-build directory.
Advantages
d.ts) naturally while tests are being created.Important
No files inside the core (lib, index.js, etc.) were modified and remain totally untouched 🙋🏻♂️
Note
Since for Poku there is no difference between running CJS, ESM, or TypeScript files in the same test suite (regardless of the runtime or coverage), there is no need to make any adaptations to the source code (lib), while we can take the first step towards #2803.
The legacy version of Deno that used a polyfill has been removed from the workflow since it is incompatible with
require+ dynamic typings.Related