mirror of
https://github.com/penpot/penpot-plugins.git
synced 2025-01-06 14:50:21 -05:00
20 lines
494 B
TypeScript
20 lines
494 B
TypeScript
/// <reference types='vitest' />
|
|
import { defineConfig } from 'vite';
|
|
|
|
export default defineConfig({
|
|
root: __dirname,
|
|
cacheDir: '../node_modules/.vite/contrast-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/contrast-plugin',
|
|
provider: 'v8',
|
|
},
|
|
},
|
|
});
|