Skip to content

Commit

Permalink
fixup: revert unnecessary test changes
Browse files Browse the repository at this point in the history
Signed-off-by: Daeyeon Jeong daeyeon.dev@gmail.com
  • Loading branch information
daeyeon committed Jul 21, 2022
1 parent 97408ed commit 6f62e63
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/parallel/test-whatwg-readablebytestream.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,9 @@ class Source {
this.controller.close();
}

assert.throws(() => byobRequest.respondWithNewView({}), TypeError);
assert.throws(() => byobRequest.respondWithNewView({}), {
code: 'ERR_INVALID_ARG_TYPE',
});

byobRequest.respond(bytesRead);

Expand Down

0 comments on commit 6f62e63

Please sign in to comment.