Test strategy for apps/storefront and packages.
Vitest assumed
The catalog in
pnpm-workspace.yamlpinsvitest: ^4.1.5, suggesting Vitest is the runner — but no contribution has been filed documenting the actual test approach. Confirm and replace this callout with sourced content once the team writes a testing decision/clarification.
Test pyramid
Test layers not yet captured
Define what lives at each layer for this project: unit (Vitest in-process for utilities and components), integration (loaders / actions against mock-shop), end-to-end (Playwright? against
corza-sandbox?). Capture the coverage targets and ratchet expectations.
Fixtures
Test fixture strategy not yet captured
Document where mock data lives (mock-shop, fixture files under
__fixtures__, MSW handlers), how it’s kept in sync with real Shopify shapes via codegen (*.generated.*files).
CI
Test CI integration not yet captured
The repo has
.github/workflows/; capture which workflow runs the tests, what’s the minimum-coverage gate, and how flaky tests are handled.