mirror of
https://github.com/hanzoai/vitest.git
synced 2026-09-24 17:04:25 +00:00
Co-authored-by: Hiroshi Ogawa <[email protected]> Co-authored-by: OpenCode (claude-opus-4-8) <[email protected]>
22 lines
461 B
TypeScript
22 lines
461 B
TypeScript
import { fileURLToPath } from 'node:url'
|
|
import { defineConfig } from 'vitest/config'
|
|
import { instances, provider } from '../../settings'
|
|
|
|
export default defineConfig({
|
|
cacheDir: fileURLToPath(new URL('./node_modules/.vite', import.meta.url)),
|
|
server: {
|
|
fs: {
|
|
deny: ['my-secret.txt'],
|
|
},
|
|
},
|
|
test: {
|
|
browser: {
|
|
enabled: true,
|
|
provider,
|
|
instances,
|
|
headless: true,
|
|
screenshotFailures: false,
|
|
},
|
|
},
|
|
})
|