mirror of
https://github.com/hanzoai/vitest.git
synced 2026-09-24 17:04:25 +00:00
15 lines
373 B
TypeScript
15 lines
373 B
TypeScript
import { playwright } from '@vitest/browser-playwright';
|
|
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
include: ['browser-basic.test.ts'],
|
|
browser: {
|
|
instances: [{ browser: 'chromium' }],
|
|
enabled: true,
|
|
headless: true,
|
|
provider: playwright(),
|
|
testerHtmlPath: './custom-html.html'
|
|
},
|
|
},
|
|
}) |