mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
test(web): align unit + e2e expectations with section routes
This commit is contained in:
@@ -348,7 +348,7 @@ describe("isPublicRoute", () => {
|
||||
});
|
||||
|
||||
it("treats tool endpoints as private", () => {
|
||||
expect(isPublicRoute("/api/v1/tools/resize")).toBe(false);
|
||||
expect(isPublicRoute("/api/v1/tools/image/resize")).toBe(false);
|
||||
expect(isPublicRoute("/api/v1/features")).toBe(false);
|
||||
expect(isPublicRoute("/api/v1/files")).toBe(false);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user