mirror of
https://github.com/hanzoai/vitest.git
synced 2026-09-24 17:04:25 +00:00
21 lines
504 B
TypeScript
21 lines
504 B
TypeScript
import { fileURLToPath } from 'node:url'
|
|
import { defineConfig } from 'vitest/config'
|
|
import { providers } from '../../settings'
|
|
|
|
export default defineConfig({
|
|
cacheDir: fileURLToPath(new URL("./node_modules/.vite", import.meta.url)),
|
|
test: {
|
|
browser: {
|
|
enabled: true,
|
|
provider: providers.playwright(),
|
|
instances: [
|
|
{ browser: 'chromium' },
|
|
{ browser: 'firefox' },
|
|
{ browser: 'webkit' },
|
|
],
|
|
headless: true,
|
|
trace: 'off',
|
|
},
|
|
},
|
|
})
|