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 c0813ff003f..1bcd6bf767d 100644 --- a/__tests__/jest-setup.ts +++ b/__tests__/jest-setup.ts @@ -21,3 +21,6 @@ */ import '@testing-library/jest-dom' + +// Mock `window.location` with Jest spies and extend expect +import 'jest-location-mock' |