mirror of
https://github.com/penpot/penpot-plugins.git
synced 2025-01-08 07:50:44 -05:00
23 lines
554 B
TypeScript
23 lines
554 B
TypeScript
/// <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'],
|
|
},
|
|
});
|