Skip to content

Commit

Permalink
test: unused callback variables removed
Browse files Browse the repository at this point in the history
Non used variables were removed from stream-exception test
  • Loading branch information
angellovc committed Mar 19, 2023
1 parent fbd526b commit fb0a3a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-wrap-js-stream-exceptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ process.once('uncaughtException', common.mustCall((err) => {

const socket = new JSStreamWrap(new Duplex({
read: common.mustCall(),
write: common.mustCall((buffer, data, cb) => {
write: common.mustCall(() => {
throw new Error('exception!');
})
}));
Expand Down

0 comments on commit fb0a3a4

Please sign in to comment.