test: track missing component test configuration

This commit is contained in:
Ilia Mashkov
2026-04-22 09:42:59 +03:00
parent 8fc8a7ee6f
commit a60dbcfa51
2 changed files with 31 additions and 0 deletions
+2
View File
@@ -1,3 +1,4 @@
import { queryClient } from '$shared/api/queryClient';
import * as matchers from '@testing-library/jest-dom/matchers';
import { cleanup } from '@testing-library/svelte';
import {
@@ -13,6 +14,7 @@ expect.extend(matchers);
afterEach(() => {
cleanup();
queryClient.clear();
});
// Mock window.matchMedia for components that use it