test: remove socket.io test

isekai-main
Barış Soner Uşaklı 2 years ago
parent 82e26829c5
commit 24ebb1536b

@ -107,14 +107,6 @@ describe('socket.io', () => {
}); });
}); });
it('should return error for invalid eventName type', (done) => {
const eventName = ['topics.loadMoreTags'];
io.emit(eventName, (err) => {
assert.strictEqual(err.message, `[[error:invalid-event, object]]`);
done();
});
});
it('should get installed themes', (done) => { it('should get installed themes', (done) => {
const themes = ['nodebb-theme-persona']; const themes = ['nodebb-theme-persona'];
io.emit('admin.themes.getInstalled', (err, data) => { io.emit('admin.themes.getInstalled', (err, data) => {

Loading…
Cancel
Save