We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbd526b commit fb0a3a4Copy full SHA for fb0a3a4
test/parallel/test-wrap-js-stream-exceptions.js
@@ -11,7 +11,7 @@ process.once('uncaughtException', common.mustCall((err) => {
11
12
const socket = new JSStreamWrap(new Duplex({
13
read: common.mustCall(),
14
- write: common.mustCall((buffer, data, cb) => {
+ write: common.mustCall(() => {
15
throw new Error('exception!');
16
})
17
}));
0 commit comments