Files

19 lines
430 B
TypeScript
Raw Permalink Normal View History

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