mirror of
https://github.com/duckietm/Nitro-V3.git
synced 2026-06-19 15:06:20 +00:00
docs(claude): bump vitest count to 187/187 after selection-hoist cases
This commit is contained in:
@@ -263,7 +263,7 @@ into `configurePreviewServer` so `yarn preview` keeps working.
|
|||||||
| God-hook split (state + actions + shim) | `doorbell`, `poll`, `furni-chooser`, `user-chooser`, `friend-request`, `chat-input` |
|
| God-hook split (state + actions + shim) | `doorbell`, `poll`, `furni-chooser`, `user-chooser`, `friend-request`, `chat-input` |
|
||||||
| God-hook split (`useBetween` singleton + state filter + actions filter + shim) | `wired-tools`, `translation`, `notification`, `friends`, `catalog` (three-way: `useCatalogData` / `useCatalogUiState` / `useCatalogActions` — all 48 consumers migrated, deprecated `useCatalog` shim removed) |
|
| God-hook split (`useBetween` singleton + state filter + actions filter + shim) | `wired-tools`, `translation`, `notification`, `friends`, `catalog` (three-way: `useCatalogData` / `useCatalogUiState` / `useCatalogActions` — all 48 consumers migrated, deprecated `useCatalog` shim removed) |
|
||||||
| `WidgetErrorBoundary` | `RoomWidgetsView` umbrella + per-widget wrap on all 13 room widgets and all 20 furniture widgets (so a crash in one widget no longer takes down its siblings) |
|
| `WidgetErrorBoundary` | `RoomWidgetsView` umbrella + per-widget wrap on all 13 room widgets and all 20 furniture widgets (so a crash in one widget no longer takes down its siblings) |
|
||||||
| Vitest | 181/181 cases — pure helpers + 2 Zustand store suites (`navigatorRoomCreatorStore`, `wiredCreatorToolsUiStore`) + 2 component-/hook-level pilots (WidgetErrorBoundary, useDoorbellState) on top of the renderer-SDK mock at `src/nitro-renderer.mock.ts`, 34 cases on the catalog pure helpers, 4 contract cases on the catalog filters. **Tests are co-located** under `src/`, alongside their subject. |
|
| Vitest | 187/187 cases — pure helpers + 2 Zustand store suites (`navigatorRoomCreatorStore`, `wiredCreatorToolsUiStore`) + 2 component-/hook-level pilots (WidgetErrorBoundary, useDoorbellState) on top of the renderer-SDK mock at `src/nitro-renderer.mock.ts`, 34 cases on the catalog pure helpers, 4 contract cases on the catalog filters. **Tests are co-located** under `src/`, alongside their subject. |
|
||||||
| Form Actions | Login / Register / Forgot (LoginView.tsx) |
|
| Form Actions | Login / Register / Forgot (LoginView.tsx) |
|
||||||
| Cherry-picked from `duckietm` PR #126 | `UserAccountSettingsView` (reset password / email / username under user settings), plus the wear-badge popup `canShowWearButton` gating |
|
| Cherry-picked from `duckietm` PR #126 | `UserAccountSettingsView` (reset password / email / username under user settings), plus the wear-badge popup `canShowWearButton` gating |
|
||||||
|
|
||||||
@@ -300,7 +300,7 @@ Fix shapes documented; both are reasonable PRs on their own.
|
|||||||
- **Skip-motivated god-hook splits are fine** — when a hook's actions
|
- **Skip-motivated god-hook splits are fine** — when a hook's actions
|
||||||
mutate internal state, document the reason in the commit message and
|
mutate internal state, document the reason in the commit message and
|
||||||
move on rather than forcing a bad split.
|
move on rather than forcing a bad split.
|
||||||
- **`yarn test` must stay green** on every commit. Currently 181/181.
|
- **`yarn test` must stay green** on every commit. Currently 187/187.
|
||||||
The GitHub Actions workflow at `.github/workflows/ci.yml` runs
|
The GitHub Actions workflow at `.github/workflows/ci.yml` runs
|
||||||
`yarn typecheck` + `yarn test --run` on every push to `main` /
|
`yarn typecheck` + `yarn test --run` on every push to `main` /
|
||||||
`feat/**` and on every PR — both must pass.
|
`feat/**` and on every PR — both must pass.
|
||||||
|
|||||||
Reference in New Issue
Block a user