Skip to content

Commit 7c706fd

Browse files
committed
Fix lint
1 parent f64f24c commit 7c706fd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/server/api/test/integration/cloud/cloud/cloud-auth.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ describe('getVerifiedUser', () => {
5454
});
5555

5656
it('should verify token from Authorization header', () => {
57-
const payload = { sub: '123' } as any;
57+
const payload = { sub: '123' };
5858
(jwt.verify as jest.Mock).mockReturnValue(payload);
5959
const mockRequest = createMockRequest({
6060
headers: { authorization: 'Bearer header-token' },
@@ -68,7 +68,7 @@ describe('getVerifiedUser', () => {
6868
});
6969

7070
it('should verify token from cookie when Authorization header is missing', () => {
71-
const payload = { sub: 'abc' } as any;
71+
const payload = { sub: 'abc' };
7272
(jwt.verify as jest.Mock).mockReturnValue(payload);
7373
const mockRequest = createMockRequest({
7474
headers: {},

0 commit comments

Comments
 (0)