import swc from 'unplugin-swc'; import { defineConfig } from 'vitest/config'; import path from 'path'; export default defineConfig({ test: { globals: true, environment: 'node', include: ['test/**/*.e2e-spec.ts', 'src/**/*.e2e-spec.ts'], }, plugins: [swc.vite()], resolve: { alias: { '@davinci/shared': path.resolve(__dirname, '../shared/src/index.ts'), }, }, });