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

Feat - #1 Add tests #205

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Feat - #1 Add tests #205

wants to merge 3 commits into from

Conversation

p4nu
Copy link

@p4nu p4nu commented May 29, 2022

Closes #1 ?

Uses https://github.com/gmrchk/cli-testing-library for a more readable testing flow.

p4nu added 3 commits May 29, 2022 13:29
This uses a dependency @gmrchk/cli-testing-library
because it makes tests more readable.
getStdout() returns the whole array of console outputs, so this is
my solution to fix that problem.

There may be better ones, but this works for the moment...
"strip-ansi": "^6.0.0",
"standard": "^14.0.0"
"standard": "^14.0.0",
"strip-ansi": "^6.0.0"
Copy link

Choose a reason for hiding this comment

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

Query: What does changing the order of these 2 lines achieve?

Copy link
Author

Choose a reason for hiding this comment

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

IIRC I used cli commands to install software, so it rearranged those automagically.

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.

Add tests
3 participants