mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Cover the Native Support filter with a Playwright-backed Vitest case that can boot the local dev server or attach to a deployed URL so the same regression can gate post-deploy verification.
23 lines
511 B
JavaScript
23 lines
511 B
JavaScript
import { defineConfig } from 'vitest/config'
|
|
|
|
import astroConfig from './astro.config.mjs'
|
|
|
|
|
|
const vitestConfig = {
|
|
...astroConfig,
|
|
...astroConfig.vite,
|
|
test: {
|
|
setupFiles: 'tsconfig-paths/register',
|
|
include: [
|
|
'test/playwright/**/*.playwright.js'
|
|
],
|
|
exclude: [
|
|
'test/_disabled/**'
|
|
],
|
|
fileParallelism: false,
|
|
hookTimeout: 120 * 1000,
|
|
testTimeout: 120 * 1000
|
|
}
|
|
}
|
|
|
|
export default defineConfig( vitestConfig )
|