vitest/examples/lit/vite.config.ts
Vladimir 937cca80a3
chore: update lit example to use the new locators API (#6628)
Co-authored-by: Hiroshi Ogawa <hi.ogawa.zz@gmail.com>
2024-10-03 16:24:06 +02:00

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',
},
},
})