doesitarm/vitest.playwright.config.mjs
ThatGuySam 3dcf7da638 test(search): add url-targetable pagefind browser regression
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.
2026-03-15 19:27:25 -05:00

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 )