Skip to content

Commit ec99eb9

Browse files
committed
fixup: revert unnecessary test changes
Signed-off-by: Daeyeon Jeong [email protected]
1 parent 97408ed commit ec99eb9

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)