fix: linting errors

Updates created some new complaints

Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
Philip Molares 2024-08-30 09:44:31 +02:00
parent d00b1c454d
commit 170fea8be0
2 changed files with 2 additions and 2 deletions

View file

@ -34,7 +34,7 @@ describe('fetch motd', () => {
Mock.of<Response>({
headers: Mock.of<Headers>({
get: (name: string) => {
return name === 'Last-Modified' ? lastModified : name === 'etag' ? etag ?? null : null
return name === 'Last-Modified' ? lastModified : name === 'etag' ? (etag ?? null) : null
}
}),
text: () => Promise.resolve(responseText),