chore: linting
This commit is contained in:
parent
9f4419e21a
commit
03d286a56a
2 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ const { HTTP } = require("./constants")
|
|||
|
||||
const debug = createNamespacedDebug("routes")
|
||||
|
||||
module.exports = function (config) {
|
||||
module.exports = function(config) {
|
||||
const router = express.Router()
|
||||
const auth = createAuthMiddleware(config)
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ describe("socketHandler", () => {
|
|||
socket.emit = jest.fn()
|
||||
|
||||
io = {
|
||||
on: jest.fn(function(event, callback) {
|
||||
on: jest.fn((event, callback) => {
|
||||
if (event === "connection") {
|
||||
callback(socket)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue