13 lines
392 B
TypeScript
13 lines
392 B
TypeScript
import { fileURLToPath } from 'node:url';
|
|
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
alias: {
|
|
'@/': fileURLToPath(new URL('./src/', import.meta.url)),
|
|
'@kooltap/shared': fileURLToPath(new URL('../../packages/shared/src/index.ts', import.meta.url)),
|
|
},
|
|
},
|
|
test: { environment: 'node', include: ['src/**/*.test.ts'] },
|
|
});
|