mirror of
https://github.com/penpot/penpot-plugins.git
synced 2025-01-09 08:22:09 -05:00
21 lines
500 B
TypeScript
21 lines
500 B
TypeScript
|
/// <reference types='vitest' />
|
||
|
import { defineConfig } from 'vite';
|
||
|
|
||
|
export default defineConfig({
|
||
|
root: __dirname,
|
||
|
cacheDir: '../node_modules/.vite/lorem-ipsum-plugin',
|
||
|
test: {
|
||
|
globals: true,
|
||
|
cache: {
|
||
|
dir: '../node_modules/.vitest',
|
||
|
},
|
||
|
environment: 'jsdom',
|
||
|
include: ['src/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],
|
||
|
reporters: ['default'],
|
||
|
coverage: {
|
||
|
reportsDirectory: '../coverage/lorem-ipsum-plugin',
|
||
|
provider: 'v8',
|
||
|
},
|
||
|
},
|
||
|
});
|