mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
20 lines
367 B
JavaScript
20 lines
367 B
JavaScript
import { defineConfig } from 'vitest/config'
|
|
|
|
import astroConfig from './astro.config.mjs'
|
|
|
|
|
|
const vitestConfig = {
|
|
|
|
...astroConfig,
|
|
|
|
// Requires merging in astroConfig.vite
|
|
...astroConfig.vite,
|
|
|
|
test: {
|
|
setupFiles: 'tsconfig-paths/register'
|
|
}
|
|
}
|
|
|
|
// console.log( 'vitestConfig', vitestConfig )
|
|
|
|
export default defineConfig( vitestConfig )
|