mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-06-22 14:51:45 +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);
|
expect(cookieOptions()).toHaveProperty('httpOnly', true);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('always sets sameSite: strict', () => {
|
it('always sets sameSite: lax', () => {
|
||||||
expect(cookieOptions()).toHaveProperty('sameSite', 'strict');
|
expect(cookieOptions()).toHaveProperty('sameSite', 'lax');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('always sets path: /', () => {
|
it('always sets path: /', () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user