mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-06-19 13:21:46 +00:00
test: update cookie test to match sameSite lax change
This commit is contained in:
@@ -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: /', () => {
|
||||
|
||||
Reference in New Issue
Block a user