test(multi-select): add test suite

This commit is contained in:
Paweł Malinowski 2024-11-26 17:18:16 +01:00 committed by Eric Liu
commit e165fa3a87
2 changed files with 127 additions and 0 deletions

View file

@ -3,4 +3,7 @@ import "@testing-library/jest-dom/vitest";
import { userEvent } from "@testing-library/user-event";
import "../css/all.css";
// Mock scrollIntoView since it's not implemented in JSDOM
Element.prototype.scrollIntoView = vi.fn();
export const user = userEvent.setup();