Files
galaxy/client-api/vitest.config.ts
T
2025-05-08 16:59:25 -04:00

21 lines
557 B
TypeScript

import { defineConfig } from 'vitest/config';
import { resolve } from 'path';
export default defineConfig({
test: {
environment: 'jsdom', // Use jsdom for browser-like environment
globals: true, // Makes expect and other test globals available without imports
include: ['src/**/*.test.ts'],
exclude: ['src/api/**/*.test.ts'], // Exclude tests from symlinked files
alias: {
'@': resolve(__dirname, 'src'),
},
deps: {
optimizer: {
web: {
include: ['openapi-fetch']
}
}
},
},
});