diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2023-08-16 12:30:01 +0200 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2023-08-17 18:56:38 +0200 |
commit | 5098a2d7db2fb1ee0352fb214330e45455153ac4 (patch) | |
tree | 60af79da7549bf7bbfa29c37a59929040c4c4003 /__tests__ | |
parent | f6a6e0b991a7b047566fa30d978227e561f1aae6 (diff) | |
download | nextcloud-server-5098a2d7db2fb1ee0352fb214330e45455153ac4.tar.gz nextcloud-server-5098a2d7db2fb1ee0352fb214330e45455153ac4.zip |
fix(tests): actions adjust and jest fetch mock
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to '__tests__')
-rw-r--r-- | __tests__/jest-setup.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/__tests__/jest-setup.ts b/__tests__/jest-setup.ts index 1bcd6bf767d..47df5dabffe 100644 --- a/__tests__/jest-setup.ts +++ b/__tests__/jest-setup.ts @@ -24,3 +24,6 @@ import '@testing-library/jest-dom' // Mock `window.location` with Jest spies and extend expect import 'jest-location-mock' + +// Mock `window.fetch` with Jest +import 'jest-fetch-mock' |