Skip to content

test(config): cover success and error paths - #426

Open
Jagadeeshftw wants to merge 1 commit into
Agentpay-Org:mainfrom
Jagadeeshftw:test/config-01-endpoint
Open

test(config): cover success and error paths#426
Jagadeeshftw wants to merge 1 commit into
Agentpay-Org:mainfrom
Jagadeeshftw:test/config-01-endpoint

Conversation

@Jagadeeshftw

Copy link
Copy Markdown

Closes #374

Summary

  • Adds focused config endpoint coverage for GET success and PATCH success/error paths
  • Verifies structured 400 responses for malformed bodies and unknown fields
  • Verifies repeated PATCH calls with the same body remain stable

Validation

  • npm run lint
  • npm run build
  • node --test dist/config-endpoint.test.js dist/config-patch.test.js dist/schema-validation.test.js

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 config endpoint success and error paths

1 participant