From 1ba811189b85c023dc68ada0cfd64329e23b4ac4 Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Thu, 11 Apr 2024 00:31:31 +0800 Subject: [PATCH] adding test for multi payload --- ci/socket-io.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ci/socket-io.js b/ci/socket-io.js index f1996cdb..37649712 100644 --- a/ci/socket-io.js +++ b/ci/socket-io.js @@ -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);