mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-21 16:00:26 +01:00
feat: socket.io 3 changes (#8845)
* feat: socket.io 3 changes * feat: replace socketio-wildcard with socket.onAny up socket.io-redis to 6.x * feat: remove mongodb/psql socket.io adapters * feat: show data on fail * fix: tests * fix: typo * fix: logger test fix * fix: logger.io_close * chore: up deps * chore: update readme to reflect redis requirement * fix: increase timeout show data if test fails
This commit is contained in:
committed by
GitHub
parent
d7f5efd960
commit
1c45fa1ba5
@@ -394,7 +394,7 @@ describe('socket.io', function () {
|
||||
setTimeout(function () {
|
||||
socketAdmin.rooms.getAll({ uid: 10 }, {}, function (err, data) {
|
||||
assert.ifError(err);
|
||||
assert.equal(data.users.category, 1);
|
||||
assert.equal(data.users.category, 1, JSON.stringify(data, null, 4));
|
||||
done();
|
||||
});
|
||||
}, 1000);
|
||||
|
||||
Reference in New Issue
Block a user