mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
9 lines
310 B
TypeScript
9 lines
310 B
TypeScript
/// <reference types="vitest/globals" />
|
|
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();
|