Skip to content

Commit

Permalink
adding test for multi payload
Browse files Browse the repository at this point in the history
  • Loading branch information
shenjackyuanjie committed Apr 10, 2024
1 parent a4f04d8 commit 1ba8111
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ci/socket-io.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ var callback = client => {
client.emit('This is the first argument', 'This is the second argument', {
argCount: 3
});
client.emit('on_abc_event', '', {
abc: 0,
some_other: 'value',
});
};
io.on('connection', callback);
io.of('/admin').on('connection', callback);
Expand Down

0 comments on commit 1ba8111

Please sign in to comment.