测试
Ridendine Testing
Master testing patterns for RidenDine across web, admin, and mobile apps. Use when: (1) writing
tests for new features, (2) debugging test failures, (3) setting up test infrastructure, (4)
mocking Supabase client, (5) testing auth flows, (6) E2E testing. Key insight: Vitest for
web/admin (faster, better ESM), Jest for mobile (Expo ecosystem), different Supabase mocks
for different contexts.