Skip to content

Node.js based forum software built for the modern web

test: remove socket.io test

Barış Soner Uşaklı24ebb1536b39
diff --git a/test/socket.io.js b/test/socket.io.js
index 4e2292d4e5..b7fcaff935 100644
--- a/test/socket.io.js
+++ b/test/socket.io.js
@@ -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) => {
const themes = ['nodebb-theme-persona'];
io.emit('admin.themes.getInstalled', (err, data) => {