0
Fork 0
mirror of https://github.com/penpot/penpot-plugins.git synced 2025-01-09 00:10:12 -05:00
penpot-plugins/apps/e2e/vite.config.ts

24 lines
554 B
TypeScript
Raw Normal View History

2024-06-13 08:15:10 -05:00
/// <reference types='vitest' />
import { defineConfig } from 'vite';
export default defineConfig({
root: __dirname,
cacheDir: '../../node_modules/.vite/e2e',
test: {
testTimeout: 20000,
watch: false,
globals: true,
cache: {
dir: '../node_modules/.vitest',
},
environment: 'happy-dom',
include: ['src/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],
reporters: ['default'],
coverage: {
reportsDirectory: '../coverage/e2e',
provider: 'v8',
},
setupFiles: ['dotenv/config'],
},
});