15 lines
352 B
TypeScript
15 lines
352 B
TypeScript
import { defineConfig, type ViteUserConfigExport } from 'vitest/config';
|
|
|
|
// eslint-disable-next-line import/no-default-export
|
|
export default defineConfig(async () => {
|
|
const config: ViteUserConfigExport = {
|
|
test: {
|
|
coverage: {
|
|
provider: 'v8',
|
|
include: ['packages/**/src/**/*.ts'],
|
|
},
|
|
},
|
|
};
|
|
return config;
|
|
});
|