2 files changed
+9
-2
No files matched your search
@@ -35,6 +35,7 @@ describe("Manager session cookie", () => {
|
||||
expect.any(String),
|
||||
expect.objectContaining({ secure: false, path: "/" }),
|
||||
);
|
||||
expect(cookieSet).toHaveBeenCalledWith("nextchair_manager_session", "", { path: "/manager", maxAge: 0 });
|
||||
});
|
||||
|
||||
it("marks the cookie Secure for an HTTPS deployment", async () => {
|
||||
|
||||
Reference in new issue
Block a user