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

Add lint + test #20

Merged
merged 7 commits into from
Feb 20, 2024
Merged

Add lint + test #20

merged 7 commits into from
Feb 20, 2024

Conversation

nbrahms
Copy link
Contributor

@nbrahms nbrahms commented Feb 20, 2024

Add GitHub actions for validation

Add basic jest testing

So far this is just basic testing for p0 ls and p0 request.

REFACTOR: Move commands to their own file

To support easier testing and code co-location.

Add eslint

For code quality

For code quality
To support easier testing and code co-location.
So far this is just basic testing for `p0 ls` and `p0 request`.

This work identified a couple bugs that were remedied in this commit:
- Improper sys.exit calls
- Improper console.log (vs. console.error)
package.json Outdated Show resolved Hide resolved
@nbrahms nbrahms merged commit b8a8ea9 into main Feb 20, 2024
2 checks passed
@nbrahms nbrahms deleted the nathan/test branch April 2, 2024 16:36
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.

2 participants