Add coverage report and basic vitest settings
Set tests folder and coverage settings, update run commands for tests
This commit is contained in:
19
vitest.config.js
Normal file
19
vitest.config.js
Normal file
@@ -0,0 +1,19 @@
|
||||
|
||||
import { defineConfig } from 'vitest/config';
|
||||
|
||||
export default defineConfig({
|
||||
test: {
|
||||
include: [
|
||||
'tests/**/*.{test,spec}.?(c|m)[jt]s?(x)'
|
||||
],
|
||||
// exclude: [],
|
||||
coverage: {
|
||||
include: [
|
||||
'src/',
|
||||
],
|
||||
exclude: [
|
||||
'src/utils.mjs',
|
||||
]
|
||||
}
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user