aboutsummaryrefslogtreecommitdiffstats
path: root/__tests__
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2023-06-21 17:10:06 +0200
committerJohn Molakvoæ <skjnldsv@users.noreply.github.com>2023-06-22 10:47:08 +0200
commit111296338544865df18aa550ecd8de9879134334 (patch)
treeb1f163f92bd3c2e77b4c67d661a9f0acc3036e2c /__tests__
parenta3fe1adb03ad5814298e4f18d14d98f85096fe7c (diff)
downloadnextcloud-server-111296338544865df18aa550ecd8de9879134334.tar.gz
nextcloud-server-111296338544865df18aa550ecd8de9879134334.zip
feat: add edit locally action with tests
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to '__tests__')
-rw-r--r--__tests__/jest-setup.ts3
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'