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

mockery should be devDependency #121

Closed
allain opened this issue Apr 7, 2017 · 2 comments
Closed

mockery should be devDependency #121

allain opened this issue Apr 7, 2017 · 2 comments

Comments

@allain
Copy link

allain commented Apr 7, 2017

mockery is listed as a normal dependency but is only used during testing

@davidfirst
Copy link
Member

@allain, thanks for your comment. Normally, Mockery is indeed a dev depdencancy, but not in this case.
The file that uses Mockery is "src/specs-runner/worker.js", which responsible for running the tests of bit components (when running "bit test" or "bit export"). In other words, it is part of the product and not the tests.

@allain
Copy link
Author

allain commented Apr 7, 2017

Perfect.

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

2 participants