docs: added support for tests in www workspace (#14415)
* tests for components (WIP) * finished adding tests to components * added tests for providers * add test command to doc tests * fix imports * exclude test files * remove import * add vitest as dev dependency * fix build error * ignore test files from eslint * fix test from docs-ui
This commit is contained in:
4
www/vitest.setup.ts
Normal file
4
www/vitest.setup.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
import { expect } from "vitest"
|
||||
import * as matchers from "@testing-library/jest-dom/matchers"
|
||||
|
||||
expect.extend(matchers)
|
||||
Reference in New Issue
Block a user