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

Make global jest command line tool like webpack? #3

Closed
sophiebits opened this issue May 14, 2014 · 4 comments
Closed

Make global jest command line tool like webpack? #3

sophiebits opened this issue May 14, 2014 · 4 comments
Assignees

Comments

@sophiebits
Copy link
Contributor

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 of npm test.

@sophiebits
Copy link
Contributor Author

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

@jeffmo
Copy link
Contributor

jeffmo commented May 14, 2014

I really like this idea -- hacking on it now

@jeffmo jeffmo self-assigned this May 15, 2014
@jeffmo
Copy link
Contributor

jeffmo commented May 16, 2014

39356eb

@github-actions
Copy link

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.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants