Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6f62e63

Browse files
committedJul 21, 2022
fixup: revert unnecessary test changes
Signed-off-by: Daeyeon Jeong [email protected]
1 parent 97408ed commit 6f62e63

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎test/parallel/test-whatwg-readablebytestream.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,9 @@ class Source {
9898
this.controller.close();
9999
}
100100

101-
assert.throws(() => byobRequest.respondWithNewView({}), TypeError);
101+
assert.throws(() => byobRequest.respondWithNewView({}), {
102+
code: 'ERR_INVALID_ARG_TYPE',
103+
});
102104

103105
byobRequest.respond(bytesRead);
104106

0 commit comments

Comments
 (0)
Please sign in to comment.