mirror of https://github.com/Nezreka/SoulSync.git
- Silence jsdom's not-implemented warning during router-driven tests - Keep the fix in test bootstrap only so runtime behavior stays unchangedpull/388/head
parent
484741db5c
commit
1b06b9dc33
@ -1 +1,7 @@
|
||||
import '@testing-library/jest-dom/vitest';
|
||||
import { vi } from 'vitest';
|
||||
|
||||
Object.defineProperty(window, 'scrollTo', {
|
||||
value: vi.fn(),
|
||||
writable: true,
|
||||
});
|
||||
|
||||
Loading…
Reference in new issue