diff --git a/backend/test/private-api/tokens.e2e-spec.ts b/backend/test/private-api/tokens.e2e-spec.ts index 839e0882e..9a54d262a 100644 --- a/backend/test/private-api/tokens.e2e-spec.ts +++ b/backend/test/private-api/tokens.e2e-spec.ts @@ -88,9 +88,9 @@ describe('Tokens', () => { .get('/api/private/tokens/') .expect('Content-Type', /json/) .expect(200); - const tokenList: any[] = response.body; + const tokenList: { keyId: string }[] = response.body; expect( - tokenList.find((token: any) => { + tokenList.find((token) => { return token.keyId === keyId; }), ).toBeUndefined();