From 24ebb1536b39e6b22132bb9c80acf818a88b2958 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Tue, 23 May 2023 16:41:26 -0400 Subject: [PATCH] test: remove socket.io test --- test/socket.io.js | 8 -------- 1 file changed, 8 deletions(-) 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) => {