e2e: the library converts inside a Web Worker via the CDN recipe - #166
Merged
Conversation
The worker-mode guarantee for the playground lane: spawns a module Worker on a live page, imports interscript from the esm.sh pin documented in interscript-ts docs/CDN.md, converts bgnpcgn-ukr through the ISC strategy, and asserts the output - proving both the worker context and the CDN recipe on every CI run. Verified locally: 1 passed.
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.
What
e2e/worker-engine.spec.ts- the worker-mode guarantee for the playground lane.Spawns a module Worker on a live page, imports
interscriptfrom the esm.sh pin documented in interscript-tsdocs/CDN.md, convertsbgnpcgn-ukr-Cyrl-Latn-2019through the ISC strategy, and asserts the output on the page side.Every CI run therefore re-proves both things at once: the library's worker-context safety (the 5.2.1 optional-globalThis chains were page-verified only until now) and the CDN delivery recipe.
Sibling: interscript-ts PR #67 (examples corpus + CDN doc + ambient types).