style: fix linting errors

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2022-09-11 18:19:20 +02:00 committed by Yannick Bungers
parent 1f2cec2f7c
commit 845861a030

View file

@ -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();