Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: more enhancements #1190

Merged
merged 18 commits into from
Mar 5, 2025
Merged

Conversation

kanadgupta
Copy link
Member

🧰 Changes

continuing my work in #1188 with even more work to migrate over our tests to the more comprehensive runCommand helper:

  • openapi convert
  • openapi inspect
  • openapi reduce
  • login
  • logout
  • whoami

the only outstanding tests using the now deprecated runCommandAndReturnResult helper are the changelog tests, but i'll swap those out if/when we get around to migrating that command over to APIv2.

🧬 QA & Testing

no functional changes. do tests still pass?

@kanadgupta kanadgupta added refactor Issues about tackling technical debt command:openapi Issues pertaining to the `openapi`, `validate`, `reduce`, or `swagger` commands command:other Issues pertaining to miscellaneous commands (e.g. `open`, `logout`) or requests for new commands labels Mar 5, 2025
@kanadgupta kanadgupta marked this pull request as ready for review March 5, 2025 21:05
@kanadgupta kanadgupta requested review from erunion and emilyskuo March 5, 2025 21:05
@@ -51,7 +51,7 @@ polymorphism:
`;

exports[`rdme openapi inspect > feature reports > should generate a report for '@readme/oas-examples/3.0/json/readme-…' (w/ [ 'readme' ]) 1`] = `
"
[SoftError:
Copy link
Member

Choose a reason for hiding this comment

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

SoftError?

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

he got me. that f***ing kanad gupta boomed me.

@kanadgupta kanadgupta merged commit 02bd825 into next Mar 5, 2025
8 checks passed
@kanadgupta kanadgupta deleted the kanad-2025-03-05/more-test-migrations branch March 5, 2025 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
command:openapi Issues pertaining to the `openapi`, `validate`, `reduce`, or `swagger` commands command:other Issues pertaining to miscellaneous commands (e.g. `open`, `logout`) or requests for new commands needs-backport-to-v9 refactor Issues about tackling technical debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants