16 lines
306 B
TypeScript
16 lines
306 B
TypeScript
|
|
import { defineConfig } from 'vitest/config';
|
||
|
|
import path from 'path';
|
||
|
|
|
||
|
|
export default defineConfig({
|
||
|
|
test: {
|
||
|
|
globals: true,
|
||
|
|
environment: 'node',
|
||
|
|
exclude: ['**/node_modules/**', '**/third-party/**'],
|
||
|
|
},
|
||
|
|
resolve: {
|
||
|
|
alias: {
|
||
|
|
'@': path.resolve(__dirname, './src'),
|
||
|
|
},
|
||
|
|
},
|
||
|
|
});
|