mirror of
https://github.com/hanzoai/vitest.git
synced 2026-09-24 17:04:25 +00:00
20 lines
471 B
TypeScript
20 lines
471 B
TypeScript
import { fileURLToPath } from 'node:url'
|
|
import { defineConfig } from 'vitest/config'
|
|
import { instances, provider } from '../../settings'
|
|
|
|
export default defineConfig({
|
|
optimizeDeps: {
|
|
include: ['@vitest/cjs-lib', '@vitest/cjs-lib/lib'],
|
|
},
|
|
cacheDir: fileURLToPath(new URL("./node_modules/.vite", import.meta.url)),
|
|
test: {
|
|
fileParallelism: false,
|
|
browser: {
|
|
enabled: true,
|
|
provider,
|
|
instances,
|
|
headless: true,
|
|
},
|
|
},
|
|
})
|