use vitest browser mode

This commit is contained in:
2025-02-03 10:29:44 +01:00
parent 91693e55e1
commit f87c1aef53
5 changed files with 1210 additions and 1002 deletions

11
vitest.config.ts.old Normal file
View File

@@ -0,0 +1,11 @@
import { defineConfig } from 'vitest/config'
export default defineConfig({
test: {
browser: {
provider: 'playwright',
enabled: true,
headless: true,
instances: [{ browser: 'firefox' }, { browser: 'webkit' }, { browser: 'chromium' }],
},
},
})