From bcb362134315fc0013dd6857b8c4fbadab15666c Mon Sep 17 00:00:00 2001 From: Abestanis Date: Sun, 8 Sep 2024 13:30:13 +0200 Subject: [PATCH] Fix lint warnings in netMock.js --- test/mocks/netMock.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/mocks/netMock.js b/test/mocks/netMock.js index 70a4a8a..fa462c2 100644 --- a/test/mocks/netMock.js +++ b/test/mocks/netMock.js @@ -15,7 +15,7 @@ class Socket extends EventEmitter { } } - setNoDelay(noDelay) { + setNoDelay() { return this; } @@ -60,6 +60,6 @@ class Server extends EventEmitter { exports.Server = Server; -exports.createServer = function (options, connectionListener) { +exports.createServer = function(options, connectionListener) { return new Server(options, connectionListener); };