mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-22 01:36:29 -05:00
style: fix linting errors
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
1f2cec2f7c
commit
845861a030
1 changed files with 2 additions and 2 deletions
|
@ -88,9 +88,9 @@ describe('Tokens', () => {
|
||||||
.get('/api/private/tokens/')
|
.get('/api/private/tokens/')
|
||||||
.expect('Content-Type', /json/)
|
.expect('Content-Type', /json/)
|
||||||
.expect(200);
|
.expect(200);
|
||||||
const tokenList: any[] = response.body;
|
const tokenList: { keyId: string }[] = response.body;
|
||||||
expect(
|
expect(
|
||||||
tokenList.find((token: any) => {
|
tokenList.find((token) => {
|
||||||
return token.keyId === keyId;
|
return token.keyId === keyId;
|
||||||
}),
|
}),
|
||||||
).toBeUndefined();
|
).toBeUndefined();
|
||||||
|
|
Loading…
Reference in a new issue