Files
medusa-store/www/apps/api-reference/vitest.config.mts
Shahed Nasser 4d632e7a5d docs: added tests for components in api-reference project (#14428)
* add tests (WIP)

* added test for h2

* finished adding tests

* fixes

* fixes

* fixes
2026-01-05 10:56:56 +02:00

19 lines
406 B
TypeScript

import { defineConfig } from 'vitest/config'
import react from '@vitejs/plugin-react'
import tsconfigPaths from 'vite-tsconfig-paths'
import { resolve } from 'path'
export default defineConfig({
plugins: [
tsconfigPaths({
configNames: ["tsconfig.tests.json"]
}),
react()
],
test: {
environment: 'jsdom',
setupFiles: [resolve(__dirname, '../../vitest.setup.ts')],
},
})