-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
command line I/F #1351
command line I/F #1351
Comments
/cc @karma-runner/contributors |
but running I would prefer to keep |
I agree with @peter-mouland. |
This will be fixed with #1078 |
@dignifiedquire Great! I'm looking forward to fixing this 😄 |
Currently, karma doesn't export
karma
command.You recommend to install
karma-cli
locally to the project in case ofnpm test
.This is why It's for separation of concerns. #1078 #1322
But, some documents describe using
./node_modules/karma/bin/karma
now.https://github.com/karma-runner/karma/blob/master/docs/plus/02-travis.md
https://github.com/karma-runner/karma/blob/master/docs/plus/04-semaphore.md
In addition,
karma-cli
specifies thepreferGlobal
.https://github.com/karma-runner/karma-cli/blob/master/package.json#L41
I feel that there is no consistency.
Solution
karma
command and treatskarma-cli
as just global command I/F. (+1)bin/karma
from this repository and remove thepreferGlobal
fromkarma-cli
.Thank you.
The text was updated successfully, but these errors were encountered: