test(web): align unit + e2e expectations with section routes

This commit is contained in:
SnapOtter
2026-06-20 23:35:37 +08:00
parent 0689ae554f
commit 5dbbac6c43
10 changed files with 42 additions and 42 deletions
+1 -1
View File
@@ -166,7 +166,7 @@ describe("IP allowlist", () => {
});
it("does NOT exempt regular API paths", () => {
expect(isExemptPath("/api/v1/tools/crop")).toBe(false);
expect(isExemptPath("/api/v1/tools/image/crop")).toBe(false);
expect(isExemptPath("/api/v1/settings")).toBe(false);
expect(isExemptPath("/api/auth/login")).toBe(false);
});