Files
caperren-com/vitest.config.ts
Corwin Perren 2d7f2904a8
Some checks failed
Build and Test - Staging / test (pull_request) Failing after 27s
Build and Test - Staging / build_and_push (pull_request) Has been skipped
Build and Test - Staging / deploy_staging (pull_request) Has been skipped
Add in the loop test for navigable pages, plus test workflow
2025-11-09 15:45:15 -08:00

23 lines
560 B
TypeScript

import path from 'path';
import {getViteConfig} from 'astro/config';
export default getViteConfig(
{
test: {
exclude: [
"test-e2e/**",
"node_modules/**",
],
resolve: {
alias: {
'@': path.resolve(__dirname, './src')
},
},
/* for example, use global to avoid globals imports (describe, test, expect): */
// globals: true,
},
},
{
site: 'https://caperren.com/'
},
);