Skip to content

test: cover docs page endpoint sections#182

Open
220nightmore-spec wants to merge 2 commits into
StableRoute-Org:mainfrom
220nightmore-spec:test-docs-page-coverage
Open

test: cover docs page endpoint sections#182
220nightmore-spec wants to merge 2 commits into
StableRoute-Org:mainfrom
220nightmore-spec:test-docs-page-coverage

Conversation

@220nightmore-spec

Copy link
Copy Markdown

Summary

  • Adds a focused test for the docs page heading and main-content focus target.
  • Verifies every documented endpoint section is rendered as dt/dd content.
  • Verifies the GET /api/v1/openapi.json link points to /api/v1/openapi.json.

Fixes #113.

Validation

  • jest src/app/docs/page.test.tsx --runInBand passes: 3 tests, 0 failures.
  • jest --runInBand currently fails in existing src/app/quote/page.test.tsx cases because assetsDiffer is not defined in src/app/quote/Client.tsx; this PR does not touch that area.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add tests for the docs page endpoint sections and external openapi link

1 participant