mirror of
https://github.com/vrcx-team/VRCX.git
synced 2026-04-06 00:32:02 +02:00
25 lines
603 B
JavaScript
25 lines
603 B
JavaScript
import { resolve } from 'node:path';
|
|
|
|
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
globals: true,
|
|
environment: 'node',
|
|
include: ['src/**/*.{test,spec}.js'],
|
|
coverage: {
|
|
reporter: ['text', 'text-summary'],
|
|
include: ['src/shared/utils/**/*.js'],
|
|
exclude: [
|
|
'src/shared/utils/**/*.test.js',
|
|
'src/shared/utils/**/__tests__/**'
|
|
]
|
|
}
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
'@': resolve(import.meta.dirname, 'src')
|
|
}
|
|
}
|
|
});
|