mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-15 06:35:20 -07:00
21 lines
402 B
JavaScript
21 lines
402 B
JavaScript
import { 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'
|
|
}
|
|
}
|
|
|
|
// console.log( 'vitestConfig', vitestConfig )
|
|
|
|
export default defineConfig( vitestConfig )
|