chore: linting

This commit is contained in:
Bill Church 2024-11-29 10:49:55 +00:00
parent 9f4419e21a
commit 03d286a56a
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@ const { HTTP } = require("./constants")
const debug = createNamespacedDebug("routes") const debug = createNamespacedDebug("routes")
module.exports = function (config) { module.exports = function(config) {
const router = express.Router() const router = express.Router()
const auth = createAuthMiddleware(config) const auth = createAuthMiddleware(config)

View file

@ -21,7 +21,7 @@ describe("socketHandler", () => {
socket.emit = jest.fn() socket.emit = jest.fn()
io = { io = {
on: jest.fn(function(event, callback) { on: jest.fn((event, callback) => {
if (event === "connection") { if (event === "connection") {
callback(socket) callback(socket)
} }