mirror of https://github.com/wg-easy/wg-easy
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
494 B
25 lines
494 B
import { fileURLToPath } from 'node:url';
|
|
|
|
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
projects: [
|
|
{
|
|
resolve: {
|
|
alias: {
|
|
'#server': fileURLToPath(new URL('./server', import.meta.url)),
|
|
},
|
|
},
|
|
test: {
|
|
name: 'unit',
|
|
include: ['test/unit/*.{test,spec}.ts'],
|
|
environment: 'node',
|
|
},
|
|
},
|
|
],
|
|
coverage: {
|
|
enabled: true,
|
|
},
|
|
},
|
|
});
|
|
|