test: cover template page hydration#204
Conversation
|
Pushed follow-up commit Additional coverage now includes Avatar fallback/image states, Card anchor/div variants, Label required validation messaging, Loader sizing/classes, and Toggle size/selected classes. This stays separate from the existing Button/Select and InterfacePlugin route-registration coverage work. Focused validation passes:
|
|
Pushed one more focused coverage commit ( Verification rerun:
|
|
Pushed another focused coverage commit (
Verification rerun:
|
|
Pushed follow-up commit Additional coverage now includes:
Verification rerun:
|
/claim #71
Fixes #71.
Summary
#root[data-client="template"]is absent.hydrateRootreceives the server root.StarbaseDB,StarbaseDBDurableObject) and documented plugin barrel exports.application/jsonpayload shapes, invalid uploaded JSON files, column mapping inserts, and valid multipart JSON file imports.executeOperation.Validation
pnpm exec vitest --run src/import/json.test.ts src/public-entrypoints.test.ts plugins/interface/pages/template/index.test.tsx plugins/interface/components/primitives.test.tsx-> 22 tests passedpnpm exec prettier --check src/import/json.test.ts src/public-entrypoints.test.ts plugins/interface/pages/template/index.test.tsx plugins/interface/components/primitives.test.tsx-> passedgit diff --check-> passedNote: I also ran the current full coverage command,
pnpm exec vitest --run --coverage.enabled true --coverage.reporter=text; the baseline currently fails in existingsrc/rls/index.test.tsassertions before this change. This PR's focused tests pass locally.