fixes the problem on Windows. I'm currently unable to test this on Unix right now, but believe this should also work there as ./node_modules/.bin is apparently added to the start of the PATH by node or npm.
Note: I haven't PRed this as I need someone to verify it won't break compatibility on other platforms first.
The current
npm test
results in the following when executing on Windows:Changing the current scripts from:
to
fixes the problem on Windows. I'm currently unable to test this on Unix right now, but believe this should also work there as
./node_modules/.bin
is apparently added to the start of the PATH by node or npm.Note: I haven't PRed this as I need someone to verify it won't break compatibility on other platforms first.