Files
RedditBot/vitest.config.ts

21 lines
476 B
TypeScript

import { defineConfig } from 'vitest/config';
import react from '@vitejs/plugin-react';
export default defineConfig({
plugins: [react()],
test: {
globals: false,
environment: 'node',
include: [
'tests/**/*.test.{ts,tsx}',
'packages/api-contracts/tests/**/*.test.ts',
],
coverage: {
provider: 'v8',
reporter: ['text', 'json', 'html'],
exclude: ['node_modules/', 'tests/', 'dist/'],
},
testTimeout: 30000,
},
});