Skip to content

Commit

Permalink
[test] Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lpinca committed May 30, 2022
1 parent 4b62fbf commit 5e4149e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/websocket.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2966,7 +2966,7 @@ describe('WebSocket', () => {
ws.onmessage = 'foo';

assert.strictEqual(ws.onmessage, null);
assert.strictEqual(ws.listenerCount('onmessage'), 0);
assert.strictEqual(ws.listenerCount('message'), 0);
});

it('works like the `EventEmitter` interface', (done) => {
Expand Down

0 comments on commit 5e4149e

Please sign in to comment.