Skip to content

Conversation

@DanielleMaor
Copy link
Collaborator

Fix bug with the API Validator where only the basic capabilities 'balances' and 'accounts' are implemented, containing only 'GET' endpoints. The API Validator is throwing an error due to the 'postEndpoints' array being empty.

@DanielleMaor DanielleMaor requested a review from yanivmo July 9, 2025 14:15
Comment on lines 24 to 25
if (postEndpoints.length > 0) {
describe.each(postEndpoints)('$method $url', ({ operationId, url, schema }: EndpointSchema) => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use describe.skipIf. There are many examples in the code. You'll probably will have to do it on the top describe.

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.

3 participants