fix(auth): update cookie security settings to allow JavaScript access #303
Annotations
2 errors
|
test
Process completed with exit code 1.
|
|
error: expect(received).toHaveBeenCalledWith(...expected):
apps/backend/src/auth/auth.service.spec.ts#L253
Expected: [ "token", "access-token", {
domain: ".test.com",
maxAge: 3600000,
} ]
Received:
1: [ "token", "access-token", {
maxAge: 3600000,
sameSite: "none",
secure: true,
httpOnly: false,
path: "/",
domain: ".test.com",
} ]
2: [ "refresh_token", "refresh-token", {
maxAge: 3600000,
sameSite: "none",
secure: true,
httpOnly: false,
path: "/",
domain: ".test.com",
} ]
Number of calls: 2
at <anonymous> (/home/runner/work/NoteBlockWorld/NoteBlockWorld/apps/backend/src/auth/auth.service.spec.ts:253:26)
|