Skip to content

Make global jest command line tool like webpack? #3

Closed
@sophiebits

Description

@sophiebits

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions