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) { it('should get server time', function (done) {
var socketMeta = require('../src/socket.io/meta'); io.emit('admin.getServerTime', null, function (err, time) {
socketMeta.getServerTime({ uid: 1 }, null, function (err, time) {
assert.ifError(err); assert.ifError(err);
assert(time); assert(time);
done(); done();

Loading…
Cancel
Save