mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 06:34:39 -04:00
chore(deps): upgrade dependencies for frontend + lint fixes
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
This commit is contained in:
parent
f121ca3458
commit
df6540163c
15 changed files with 681 additions and 357 deletions
|
@ -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>({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue