-
Notifications
You must be signed in to change notification settings - Fork 16
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 tests for CLI mode #96
Conversation
package.json
Outdated
}, | ||
"dependencies": { | ||
"concat-stream": "^2.0.0", |
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.
Should this be a dev-dependency?
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.
yes. It is used in testing. So we can move it to dev-dependencies. Shall change that
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.
Yes, let's do that.
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.
done
Adds 20 testcases for CLI.
These tests are excluded when running on github actions. These tests require spawning child processes from node to run the terminal commands. This is running properly on local machine, but throwing error when run on github actions. Hence excluded them.
Also in this PR
-o
Option in Command Line #98relaxed
mode #97