Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(tests): add new test case for string concatenation using readabl…
…eStreamToText Added a new test case to the `iterable-to-readable-stream.spec.ts` file to cover the scenario of concatenating strings from an iterable into a single text. The test case utilizes the `readableStreamToText` utility from `bun` alongside the existing `iterableToReadableStream` function to achieve this. This addition ensures that the conversion of an iterable of string elements into a readable stream, followed by the concatenation of these streamed elements into a single string text, works as expected. The test is essential for verifying the functionality of streaming string data, particularly in scenarios where data is dynamically generated or fetched in parts.
- Loading branch information