1
0
Fork 0
forked from svrjs/svrjs

Add ".js" extension to one of the requires to tests for blocklist middleware

This commit is contained in:
Dorian Niemiec 2024-08-31 17:28:14 +02:00
parent b6f17d2af4
commit ce9550cc39

View file

@ -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;