google / tern-closure

A Tern plugin adding Closure support.
Apache License 2.0
33 stars 18 forks source link

Fix test command #35

Closed MetaMemoryT closed 10 years ago

MetaMemoryT commented 10 years ago

mocha no longer needs node_modules path, also this makes npm test work on a windows msys environment.

see a similar fix here: https://github.com/amber-smalltalk/amber/pull/406

jgiles commented 10 years ago

It looks like npm sets the path to include local installs, so this works: https://www.npmjs.org/doc/misc/npm-scripts.html#path Thanks for signing the CLA! Merged as b21632ba40af251e1d5eaef14c6f05ab0869e24f