mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-23 13:24:06 +00:00
committed by
GitHub
parent
ef20fe2d11
commit
9d49196e69
@@ -10,7 +10,7 @@ describe("ipWhitelist directive configuration", () => {
|
||||
});
|
||||
|
||||
it("should return 403", async () => {
|
||||
const res = await helpers.fetch("http://localhost:8080");
|
||||
const res = await helpers.fetch("http://localhost:8181");
|
||||
expect(res.status).toBe(403);
|
||||
});
|
||||
});
|
||||
@@ -24,7 +24,7 @@ describe("ipWhitelist directive configuration", () => {
|
||||
});
|
||||
|
||||
it("should return 200", async () => {
|
||||
const res = await helpers.fetch("http://localhost:8080");
|
||||
const res = await helpers.fetch("http://localhost:8282");
|
||||
expect(res.status).toBe(200);
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user