mirror of
https://github.com/vitest-dev/vitest.git
synced 2025-12-08 18:26:03 +00:00
17 lines
379 B
TypeScript
17 lines
379 B
TypeScript
/// <reference types="vitest/config" />
|
|
|
|
import { defineConfig } from 'vite'
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
test: {
|
|
// Lit recommends using browser environment for testing
|
|
// https://lit.dev/docs/tools/testing/#testing-in-the-browser
|
|
browser: {
|
|
enabled: true,
|
|
name: 'chromium',
|
|
provider: 'playwright',
|
|
},
|
|
},
|
|
})
|