Skip to content

Commit

Permalink
Make npm install -g jest-cli work reasonably well
Browse files Browse the repository at this point in the history
Previously, if you were to `npm install -g jest-cli`, life would suck if
you had an old version of jest installed globally...but your tests only
work properly with new versions.

This makes the jest binary try to be smart and look for a jest binary
that might already exist in CWD project -- and if one is found, use that
to run the tests instead of the global version.
  • Loading branch information
jeffmo committed May 15, 2014
1 parent 8c9c70a commit 39356eb
Showing 1 changed file with 237 additions and 143 deletions.
Loading

0 comments on commit 39356eb

Please sign in to comment.