chore(deps): upgrade dependencies for frontend + lint fixes

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
This commit is contained in:
Erik Michelson 2024-10-23 00:32:55 +02:00
parent f121ca3458
commit df6540163c
15 changed files with 681 additions and 357 deletions

View file

@ -28,7 +28,7 @@ describe('fetch motd', () => {
): jest.SpyInstance<Promise<Response>> => {
return jest.spyOn(global, 'fetch').mockImplementation((url: RequestInfo | URL) => {
if (url !== motdUrl) {
return Promise.reject('wrong url')
return Promise.reject(new Error('wrong url'))
}
return Promise.resolve(
Mock.of<Response>({