From cffd6ad1f4ab79e4e1143d8fdb6a609321640061 Mon Sep 17 00:00:00 2001 From: Denis Golovin Date: Thu, 12 Dec 2024 20:17:18 -0800 Subject: [PATCH] fix: component test errors after migration to svelte@5.12.0 Signed-off-by: Denis Golovin --- packages/renderer/vite.tests.setup.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/renderer/vite.tests.setup.js b/packages/renderer/vite.tests.setup.js index 27388d56f..5c2ca5ef1 100644 --- a/packages/renderer/vite.tests.setup.js +++ b/packages/renderer/vite.tests.setup.js @@ -17,3 +17,5 @@ ***********************************************************************/ import 'vitest-canvas-mock'; + +global.window.matchMedia = () => {};