Skip to content

Add encoding streams suite; migrate existing TES/TDS tests - #7154

Open
jasnell wants to merge 12 commits into
mainfrom
jasnell/streams-test-consolidation-2
Open

Add encoding streams suite; migrate existing TES/TDS tests#7154
jasnell wants to merge 12 commits into
mainfrom
jasnell/streams-test-consolidation-2

Conversation

@jasnell

@jasnell jasnell commented Aug 27, 2026

Copy link
Copy Markdown
Collaborator

Next test consolidation set.. TextEncoderStream and TextDecoderStream combined C++/TS suite. Following in the footsteps of the identity suite that already landed.

The fact that only 169 LOC were removed here compared to 2188 added goes to show we weren't really testing this API nearly well enough. Yay moar coverage!

@jasnell
jasnell requested review from guybedford and npaun August 27, 2026 21:29
@jasnell
jasnell requested review from a team as code owners August 27, 2026 21:29
Comment thread src/tests/streams/encoding/encoding-cpp.wd-test
@ask-bonk

ask-bonk Bot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

I'm Bonk, and I've done a quick review of your PR.

Consolidates encoding-stream tests into shared C++/TypeScript suites.

  1. High: encoding-cpp.wd-test omits capture_async_api_throws, so default C++ variants fail on synchronous invalid-write throws. Posted one inline suggestion.

github run

Comment thread src/tests/streams/encoding/construction.js
@jasnell
jasnell force-pushed the jasnell/streams-test-consolidation-2 branch from d92bb20 to a847471 Compare August 28, 2026 13:49
@jasnell
jasnell requested a review from guybedford August 28, 2026 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants