Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix readableStreamToArrayBuffer #3181

Merged
merged 3 commits into from
Jun 3, 2023
Merged

Conversation

paperdave
Copy link
Collaborator

No description provided.

@paperdave paperdave force-pushed the fix-readableStreamToArrayBuffer branch from 757aeea to 984cbff Compare June 3, 2023 01:25
try {
const result = await Bun.readableStreamToArrayBuffer(
new ReadableStream({
async start(controller) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: start is executed immediately ,synchronously so this test does not cover promises

it would need to go under pull

@github-actions
Copy link

github-actions bot commented Jun 3, 2023

@paperdave 2 files with test failures on linux-x64:

  • test/js/bun/websocket/websocket-server.test.ts
  • test/js/node/child_process/child_process-node.test.js

View test output

#e546fa6cd8ea5bca43a35bdae260aeef64b81a69

@github-actions
Copy link

github-actions bot commented Jun 3, 2023

@paperdave 2 files with test failures on linux-x64-baseline:

  • test/js/bun/websocket/websocket-server.test.ts
  • test/js/node/child_process/child_process-node.test.js

View test output

#e546fa6cd8ea5bca43a35bdae260aeef64b81a69

@Jarred-Sumner Jarred-Sumner merged commit f798a0c into main Jun 3, 2023
13 of 16 checks passed
@Jarred-Sumner Jarred-Sumner deleted the fix-readableStreamToArrayBuffer branch June 3, 2023 02:03
@github-actions
Copy link

github-actions bot commented Jun 3, 2023

@paperdave 5 files with test failures on bun-darwin-x64-baseline:

  • test/js/bun/spawn/spawn-streaming-stdin.test.ts
  • test/js/bun/sqlite/sqlite.test.js
  • test/js/bun/util/sleepSync.test.ts
  • test/js/web/timers/setInterval.test.js
  • test/js/web/timers/setTimeout.test.js

View test output

#e546fa6cd8ea5bca43a35bdae260aeef64b81a69

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.

None yet

2 participants