T007
This commit is contained in:
@@ -1,6 +1,15 @@
|
||||
import { sveltekit } from '@sveltejs/kit/vite';
|
||||
import { defineConfig } from 'vite';
|
||||
import { defineConfig } from 'vitest/config';
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [sveltekit()],
|
||||
// Vitest config (T007)
|
||||
test: {
|
||||
globals: true,
|
||||
environment: 'jsdom',
|
||||
css: true,
|
||||
include: ['src/**/*.{test,spec}.{js,ts}', 'tests/**/*.{test,spec}.{js,ts}'],
|
||||
exclude: ['tests/e2e/**', 'node_modules/**'],
|
||||
reporters: 'default'
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user