Test InviteModal

This commit is contained in:
Robin
2024-09-06 18:41:47 -04:00
parent d9333d6829
commit 0c0be8a862
4 changed files with 55 additions and 8 deletions
+8
View File
@@ -37,3 +37,11 @@ Config.initDefault();
posthog.opt_out_capturing();
afterEach(cleanup);
// Used by a lot of components
window.matchMedia = global.matchMedia = (): MediaQueryList =>
({
matches: false,
addEventListener: () => {},
removeEventListener: () => {},
}) as Partial<MediaQueryList> as MediaQueryList;