gadget/gadget-code/vitest.config.ts
2026-04-28 09:20:37 -04:00

17 lines
427 B
TypeScript

import { defineConfig } from 'vitest/config';
import path from 'node:path';
import { fileURLToPath } from 'node:url';
const __dirname = path.dirname(fileURLToPath(import.meta.url));
export default defineConfig({
test: {
globals: true,
environment: 'node',
include: ['tests/**/*.test.ts', '!tests/e2e/**/*.test.ts'],
coverage: {
provider: 'v8',
reporter: ['text', 'json', 'html'],
},
},
});