mirror of
https://github.com/vitest-dev/vitest.git
synced 2025-12-08 18:26:03 +00:00
25 lines
528 B
TypeScript
25 lines
528 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)),
|
|
test: {
|
|
browser: {
|
|
enabled: true,
|
|
provider,
|
|
instances: instances.map(instance => ({
|
|
...instance,
|
|
context: {
|
|
actionTimeout: 500,
|
|
},
|
|
})),
|
|
},
|
|
expect: {
|
|
poll: {
|
|
timeout: 500,
|
|
},
|
|
},
|
|
},
|
|
})
|