-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
Make global jest
command line tool like webpack?
#3
Comments
We could also do the grunt-cli approach, which is more explicit but perhaps feels less clean: https://github.com/gruntjs/grunt-cli/blob/master/bin/grunt |
I really like this idea -- hacking on it now |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
webpack can be installed globally, but it delegates to a locally-installed version if one exists:
https://github.com/webpack/webpack/blob/7e08847df59f9bed1854ce660946b285055c73d6/bin/webpack.js#L8-L14
Perhaps we should consider the same so that people can use the
jest
command easily instead ofnpm test
.The text was updated successfully, but these errors were encountered: