Added: api auth status

This commit is contained in:
2024-05-02 01:19:44 +02:00
parent de8ff025fa
commit cdc5970b3a
2 changed files with 3 additions and 30 deletions

View File

@ -207,7 +207,6 @@ describe('POST /api/v1/auth/logout', () => {
});
});
/*
describe('GET /api/v1/auth/status', () => {
const url = '/api/v1/auth/status';
test('should return login status 401', async () => {
@ -219,5 +218,4 @@ describe('GET /api/v1/auth/status', () => {
const res = await request.get(url).set('Cookie', jwt).send();
expect(res.statusCode).toBe(200);
});
});
*/
});