-
Notifications
You must be signed in to change notification settings - Fork 43
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
feat: overhauling the help screen generator so it's consistent everywhere #397
Conversation
|
||
describe('cli', () => { | ||
it('command not found', () => { | ||
expect.assertions(1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed these to use .rejects
and .resolves
because calling expect.assertions()
or expect.hasAssertions()
has always been a bit gnar.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏼 🎉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feels like a little boost in readability imo 👌
🧰 Changes
This updates our help screen generator to be consistent across the main and individual command help screens.
🧬 QA & Testing
Main help
Before
After
Command help
Before
After