2023-11-18 20:38:51 +00:00
|
|
|
import { sveltekit } from '@sveltejs/kit/vite';
|
|
|
|
import { defineConfig } from 'vitest/config';
|
|
|
|
|
|
|
|
export default defineConfig({
|
2023-11-19 13:15:37 +00:00
|
|
|
plugins: [sveltekit()],
|
|
|
|
test: {
|
2024-02-10 13:23:10 +00:00
|
|
|
include: ['src/**/*.{test,spec}.{js,ts}'],
|
2024-02-10 13:42:21 +00:00
|
|
|
globalSetup: './src/setup.ts',
|
|
|
|
coverage: {
|
2024-02-10 13:52:44 +00:00
|
|
|
provider: 'istanbul',
|
|
|
|
include: ['src/**/*.ts']
|
2024-02-10 13:42:21 +00:00
|
|
|
}
|
2023-11-19 13:15:37 +00:00
|
|
|
}
|
2023-11-18 20:38:51 +00:00
|
|
|
});
|