Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

test: update cookie test to match sameSite lax change

Maurice501bab0f69f8
diff --git a/server/tests/unit/services/cookie.test.ts b/server/tests/unit/services/cookie.test.ts
index d0aae81eb..4deff268d 100644
--- a/server/tests/unit/services/cookie.test.ts
+++ b/server/tests/unit/services/cookie.test.ts
@@ -11,8 +11,8 @@ describe('cookieOptions', () => {
expect(cookieOptions()).toHaveProperty('httpOnly', true);
});
- it('always sets sameSite: strict', () => {
- expect(cookieOptions()).toHaveProperty('sameSite', 'strict');
+ it('always sets sameSite: lax', () => {
+ expect(cookieOptions()).toHaveProperty('sameSite', 'lax');
});
it('always sets path: /', () => {