mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-01 21:30:30 +01:00
fix: test
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user