mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-15 00:42:04 +02:00
fix: don't return promise
This commit is contained in:
@@ -127,7 +127,7 @@ describe('socket.io', function () {
|
||||
it('should get more unread topics', function (done) {
|
||||
io.emit('topics.loadMoreSortedTopics', { after: 0, count: 10, direction: 1, sort: 'unread' }, function (err, result) {
|
||||
assert.ifError(err);
|
||||
console.log(result);
|
||||
assert(Array.isArray(result.topics));
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user