writing-tests - Test writing conventions for peek-stash-browser
Guidelines and conventions for writing Vitest client/server unit tests, server integration tests, and Playwright E2E tests in peek-stash-browser.
Tags
Updated: 2026-09-22Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Write Vitest client tests
- Write server unit tests
- Run server integration tests
- Execute Playwright E2E tests
- Check test coverage thresholds
Inputs
- Environment variables (.env)
- Stash test instance credentials
- Test entities fixture files
Outputs
- Test execution results
- Code coverage reports
- Playwright authentication storage state
Requirements
- Node.js environment
- Vitest 3.x
- React Testing Library 16.x
- Playwright
- Access to Stash test instance
