diff options
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' |