Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
change common.expectsError to assert.throws
  • Loading branch information
Flarna committed Apr 6, 2020
commit 49125942ac91fc08f26bacf4ac7be05ce936c7aa
2 changes: 1 addition & 1 deletion test/parallel/test-event-emitter-error-monitor.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ EE.on(
);

// Verify with no error listener
common.expectsError(
assert.throws(
() => EE.emit('error', theErr), theErr
);

Expand Down