We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ec8276 commit 1ae51dfCopy full SHA for 1ae51df
server/src/auth/auth.service.spec.ts
@@ -51,7 +51,7 @@ describe('AuthService', () => {
51
},
52
{
53
provide: 'COOKIE_EXPIRES_IN',
54
- useValue: '1d',
+ useValue: '3600',
55
56
57
provide: 'JWT_SECRET',
@@ -373,15 +373,15 @@ describe('AuthService', () => {
373
374
expect(res.cookie).toHaveBeenCalledWith('token', 'access-token', {
375
domain: '.test.com',
376
- maxAge: 1,
+ maxAge: 3600000,
377
});
378
379
expect(res.cookie).toHaveBeenCalledWith(
380
'refresh_token',
381
'refresh-token',
382
383
384
385
386
);
387
0 commit comments