Summary
Contributors writing new tests have no documented conventions for how tests should be structured, how to mock the wallet or API, or how to set up the integration test environment. A testing conventions document would reduce friction and keep the test suite consistent.
Scope
- Document the unit test file naming and co-location convention
- Describe the standard pattern for mocking React Query responses in unit tests
- Explain how to mock wallet connection state in component tests
- Document how to set up the integration test environment including any required providers or fixtures
- List the test utilities available (e.g. custom render functions, query client factories)
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
Contributors writing new tests have no documented conventions for how tests should be structured, how to mock the wallet or API, or how to set up the integration test environment. A testing conventions document would reduce friction and keep the test suite consistent.
Scope
Acceptance Criteria
docs/and cross-links the error handling conventions docETA: 12 hours
Coordinate on Telegram