other
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
import { defineConfig } from 'vitest/config';
|
||||
|
||||
export default defineConfig({
|
||||
test: {
|
||||
globals: true,
|
||||
environment: 'node',
|
||||
coverage: {
|
||||
provider: 'v8',
|
||||
reporter: ['text', 'json', 'html', 'lcov'],
|
||||
exclude: [
|
||||
'node_modules/',
|
||||
'dist/',
|
||||
'**/*.spec.ts',
|
||||
'**/*.test.ts',
|
||||
'src/scripts/',
|
||||
'examples/',
|
||||
],
|
||||
},
|
||||
include: ['src/**/*.{test,spec}.ts'],
|
||||
exclude: ['node_modules', 'dist', 'examples'],
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user