mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 06:34:39 -04:00
fix: linting errors
Updates created some new complaints Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
d00b1c454d
commit
170fea8be0
2 changed files with 2 additions and 2 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue