Context
src/lib/__tests__/schemas.test.ts still uses CNA-era fixtures (type: 'react', Tailwind, "Frontend Applications"). That confuses CPA contributors and weakens the test as documentation.
Steps
- Read canonical types/slugs from
Create-Python-App/cpa-templates/templates.json.
- Rewrite fixtures to CPA domain types (
fastapi-backend, django-backend, cli-app, etc.).
- Use real extension slugs such as
fastapi-docker / github-setup.
- Run
pnpm test in the website repo.
Acceptance criteria
Files
src/lib/__tests__/schemas.test.ts
src/lib/schemas.ts (reference)
cpa-templates/templates.json (reference)
How to verify
pnpm test (or the repo's documented test script) passes.
Context
src/lib/__tests__/schemas.test.tsstill uses CNA-era fixtures (type: 'react', Tailwind, "Frontend Applications"). That confuses CPA contributors and weakens the test as documentation.Steps
Create-Python-App/cpa-templates/templates.json.fastapi-backend,django-backend,cli-app, etc.).fastapi-docker/github-setup.pnpm testin the website repo.Acceptance criteria
Files
src/lib/__tests__/schemas.test.tssrc/lib/schemas.ts(reference)cpa-templates/templates.json(reference)How to verify
pnpm test(or the repo's documented test script) passes.