randomayzer/vitest.config.ts

15 lines
323 B
TypeScript

import { defineConfig } from 'vitest/config';
import path from 'path';
export default defineConfig({
test: {
globals: true,
environment: 'node',
exclude: ['**/node_modules/**', '**/dist/**', 'tests/integration/**'],
},
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
},
},
});