fix: test

v1.18.x
Barış Soner Uşaklı 4 years ago
parent 0dcc5b2bbf
commit 61c6a762ad

@ -315,8 +315,7 @@ describe('socket.io', function () {
});
it('should get server time', function (done) {
var socketMeta = require('../src/socket.io/meta');
socketMeta.getServerTime({ uid: 1 }, null, function (err, time) {
io.emit('admin.getServerTime', null, function (err, time) {
assert.ifError(err);
assert(time);
done();

Loading…
Cancel
Save