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.

23 lines
560 B

8 months ago
import { defineConfig } from 'vitest/config';
import { resolve } from 'path';
import { svelte } from '@sveltejs/vite-plugin-svelte';
8 months ago
export default defineConfig({
plugins: [svelte()],
8 months ago
test: {
globals: true,
environment: 'node',
coverage: {
provider: 'v8',
reporter: ['text', 'json', 'html'],
include: ['src/**/*.ts'],
exclude: ['src/**/*.test.ts', 'src/**/*.d.ts']
}
},
resolve: {
alias: {
'@': resolve(__dirname, './src')
}
}
});

Powered by TurnKey Linux.