Vitest Testing Expert knowledge for testing JavaScript/TypeScript projects using Vitest - a blazingly fast testing framework powered by Vite. Quick Start Installation Configuration Running Tests Writing Tests Basic Structure Parametrized Tests Assertions Mocking Function Mocks Module Mocking Timers Coverage Integration Testing Best Practices - One test file per source file: → - Group related tests with blocks - Use descriptive test names - Mock only external dependencies - Use tests for independent async tests - Share expensive fixtures with - Aim for 80%+ coverage but don't chase 100% See Al…