From ce9550cc39a32b0c38ed8e4b28fbdf078a698fd8 Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Sat, 31 Aug 2024 17:28:14 +0200 Subject: [PATCH] Add ".js" extension to one of the requires to tests for blocklist middleware --- tests/middleware/blocklist.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/middleware/blocklist.test.js b/tests/middleware/blocklist.test.js index a08d282..dba839e 100644 --- a/tests/middleware/blocklist.test.js +++ b/tests/middleware/blocklist.test.js @@ -21,7 +21,7 @@ process.serverConfig = { blacklist: [], }; -const blocklistMiddleware = require("../../src/middleware/blocklist"); +const blocklistMiddleware = require("../../src/middleware/blocklist.js"); describe("Blocklist middleware", () => { let req, res, logFacilities, config, next;