doesitarm/vitest.config.mjs
ThatGuySam fcda9f0a02 chore(node): move repo tooling to node 24
Align local version markers and GitHub Actions with Node 24, switch the default test entrypoint to the maintained Vitest runner, and replace pnpm-incompatible npm helpers in repo scripts.

This also removes the obsolete AVA plus esm path and excludes disabled test fixtures from generic Vitest discovery so CI reflects the supported test surface.
2026-03-15 12:55:25 -05:00

25 lines
519 B
JavaScript

import { configDefaults, defineConfig } from 'vitest/config'
import astroConfig from './astro.config.mjs'
const vitestConfig = {
...astroConfig,
// Requires merging in astroConfig.vite
...astroConfig.vite,
test: {
// testTimeout: 60 * 1000,
setupFiles: 'tsconfig-paths/register',
exclude: [
...configDefaults.exclude,
'test/_disabled/**'
]
}
}
// console.log( 'vitestConfig', vitestConfig )
export default defineConfig( vitestConfig )