vitest.config.mts 382 B

12345678910111213141516171819
  1. import { defineConfig } from 'vitest/config';
  2. import vue from '@vitejs/plugin-vue';
  3. import vueJsx from '@vitejs/plugin-vue-jsx';
  4. export default defineConfig({
  5. plugins: [
  6. vue(),
  7. vueJsx(),
  8. ],
  9. test: {
  10. environment: 'happy-dom',
  11. include: ['./**/*.test.{ts,js,tsx}'],
  12. coverage: {
  13. provider: 'v8',
  14. reporter: ['html', 'text', 'json'],
  15. },
  16. },
  17. });