Files
medusa-store/www/vitest.setup.ts
Shahed Nasser 40db4c22d3 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
2025-12-30 13:19:57 +02:00

5 lines
120 B
TypeScript

import { expect } from "vitest"
import * as matchers from "@testing-library/jest-dom/matchers"
expect.extend(matchers)