Skip to content

test(sdk): add full coverage for all CraftClient public methods #499#505

Merged
temma02 merged 1 commit intoStellerCraft:mainfrom
dot-enny:issue-025-sdk-client-full-method-coverage
Apr 29, 2026
Merged

test(sdk): add full coverage for all CraftClient public methods #499#505
temma02 merged 1 commit intoStellerCraft:mainfrom
dot-enny:issue-025-sdk-client-full-method-coverage

Conversation

@dot-enny
Copy link
Copy Markdown
Contributor

Closes #499

Summary of Actions Taken:

  1. Branch Management: Created the branch issue-025-sdk-client-full-method-coverage as required.
  2. Supplemental Testing: Augmented [client.test.ts] to include precise assertions targeting non-2xx responses.
  3. Execution Edge Cases addressed:
    • Simulated robust status codes (401, 404, 500) against individual requests mapped directly across getSubscription, cancelSubscription, and getDeploymentHealth.
    • Covered validation against the edge case where setAccessToken() was neglected before reaching downstream procedures.
  4. All 39 automated specs pass effortlessly.

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Apr 28, 2026

@dot-enny Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@temma02 temma02 merged commit ecfc7d2 into StellerCraft:main Apr 29, 2026
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.

Increase SDK CraftClient test coverage to all public methods

2 participants