forked from svrjs/svrjs
Add ".js" extension to one of the requires to tests for blocklist middleware
This commit is contained in:
parent
b6f17d2af4
commit
ce9550cc39
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Reference in a new issue