occulto/test.browsers.js

11 lines
252 B
JavaScript
Raw Normal View History

2024-07-29 16:14:12 +02:00
#!/usr/bin/env zx
import 'zx/globals'
$.verbose = true
const BROWSERS = ['firefox', 'chromium', 'webkit']
await Promise.all([
BROWSERS.map((browser) => $`pnpm vitest --browser.provider=playwright --browser.name=${browser} --browser.headless`),
])