Skip to content
This repository was archived by the owner on Jul 17, 2022. It is now read-only.

Commit

Permalink
test(authentication): use correct cookie attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed Sep 15, 2021
1 parent d4e08c6 commit 550af17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tests/authentication.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ describe('User account API', () => {
expect(cookieInfo.options).toMatchObject({
Path: '/',
HttpOnly: true,
sameSite: 'none',
SameSite: 'None',
})
const expiresIn =
new Date(cookieInfo.options.Expires).getTime() - Date.now()
Expand Down Expand Up @@ -211,7 +211,7 @@ describe('User account API', () => {
expect(cookieInfo.options).toMatchObject({
Path: '/',
HttpOnly: true,
sameSite: 'none',
SameSite: 'None',
})
const expiresIn =
new Date(cookieInfo.options.Expires).getTime() - Date.now()
Expand Down

0 comments on commit 550af17

Please sign in to comment.