mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 10:51:06 +00:00
test: scaffold component testing with Vitest
This commit is contained in:
parent
89387004a3
commit
8b477b12f9
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