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

Install procedure #104

Open
qortex opened this issue Jan 2, 2019 · 3 comments
Open

Install procedure #104

qortex opened this issue Jan 2, 2019 · 3 comments

Comments

@qortex
Copy link

qortex commented Jan 2, 2019

I need to add require('karma-mocha-reporter') in the plugins section of the karma.conf.js file to get it working. Otherwise, I would get this error when running ng test:

Can not load reporter "mocha", it is not registered!

It would be useful to include that in the INSTALL section of the readme if it is confirmed that this fix applies to all situations.

@kirill-konshin
Copy link

If you don't have such section all karma-* packages will be loaded automatically. If you have this section package maintainers assume that you know what you're doing :)

@DDoerner
Copy link

Understandable. Could still be useful to add a note in the README because templates such as the one Angular generates place the section

@D4nte
Copy link

D4nte commented Mar 7, 2022

I guess the issue is that other maintainer tell you to add the require property in their docs when it is not needed :)

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

No branches or pull requests

4 participants