admin-vben/vitest.config.ts

12 lines
310 B
TypeScript
Raw Normal View History

import Vue from '@vitejs/plugin-vue';
import VueJsx from '@vitejs/plugin-vue-jsx';
import { configDefaults, defineConfig } from 'vitest/config';
2024-05-19 13:20:42 +00:00
export default defineConfig({
plugins: [Vue(), VueJsx()],
2024-05-19 13:20:42 +00:00
test: {
environment: 'happy-dom',
exclude: [...configDefaults.exclude, '**/e2e/**'],
2024-05-19 13:20:42 +00:00
},
});