xiaozhi-esp32-server/main/manager-web/vitest.config.js

16 lines
No EOL
401 B
JavaScript

import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
environment: 'jsdom',
globals: false,
include: ['tests/**/*.test.{js,mjs}'],
exclude: ['tests/*Contract.test.mjs', 'node_modules/**'],
passWithNoTests: true,
coverage: {
provider: 'v8',
reporter: ['text', 'html'],
include: ['src/utils/**', 'src/store/**'],
},
},
});