16 lines
350 B
TypeScript
16 lines
350 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
import swc from 'unplugin-swc';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
environment: 'node',
|
|
coverage: {
|
|
provider: 'istanbul',
|
|
reporter: ['text', 'html', 'json', 'lcov'],
|
|
include: ['**/src/**/*.ts'],
|
|
exclude: ['**/src/index.ts'],
|
|
},
|
|
},
|
|
plugins: [swc.vite()],
|
|
});
|