We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e50c6b9 commit 81ad73aCopy full SHA for 81ad73a
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