admin-vben/vitest.config.ts

12 lines
310 B
TypeScript

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