Files
medusa-store/www/packages/docs-utils/vitest.config.mts
Shahed Nasser 43951ce60e docs: add npx2yarn component (#14512)
* initial

* initial

* update tests

* remove unused import

* allow passing with no tests

* vale fixes
2026-01-12 13:42:30 +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')],
},
})