mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
test: scaffold component testing with Vitest
This commit is contained in:
parent
817482cc6b
commit
bb20daa384
9 changed files with 2324 additions and 39 deletions
6
tests/setup-tests.ts
Normal file
6
tests/setup-tests.ts
Normal file
|
@ -0,0 +1,6 @@
|
|||
/// <reference types="vitest/globals" />
|
||||
import "@testing-library/jest-dom/vitest";
|
||||
import { userEvent } from "@testing-library/user-event";
|
||||
import "../css/all.css";
|
||||
|
||||
export const user = userEvent.setup();
|
Loading…
Add table
Add a link
Reference in a new issue