mirror of
https://github.com/zen-browser/www.git
synced 2025-07-13 11:45:31 +02:00
- Added Playwright configuration for end-to-end testing. - Integrated Vitest for unit testing with setup files. - Updated package.json scripts for testing commands. - Created CI pipeline for automated testing and builds. - Added various test cases for components and pages. - Updated .gitignore to exclude Playwright and coverage. - Enhanced ModsList component with additional class for styling.
12 lines
No EOL
264 B
TypeScript
12 lines
No EOL
264 B
TypeScript
/// <reference types="vitest" />
|
|
import { getViteConfig } from 'astro/config';
|
|
|
|
export default getViteConfig({
|
|
test: {
|
|
setupFiles: ['./src/tests/vitest.setup.ts'],
|
|
coverage: {
|
|
provider: 'istanbul',
|
|
reporter: ['text', 'html'],
|
|
},
|
|
},
|
|
});
|