mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
test(multi-select): add test suite
This commit is contained in:
parent
1f7ec1b40a
commit
e165fa3a87
2 changed files with 127 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue