]> git.proxmox.com Git - mirror_novnc.git/commit
slip in PATH for 'npm test' as not everyone has karma
authorAlexander Clouter <alex@digriz.org.uk>
Sat, 22 Nov 2014 10:20:51 +0000 (10:20 +0000)
committerAlexander Clouter <alex@digriz.org.uk>
Thu, 4 Dec 2014 21:18:16 +0000 (21:18 +0000)
commitdc4b6301c810bd82f4d00c2032ac6775973a4edb
tree9ced5ecf1fb1ab2c99ac884aec161fb446495d52
parentfc00821eba469641c6c94706726c3d78e46460a2
slip in PATH for 'npm test' as not everyone has karma

So people can follow the 'unit tests' instructions, we need
to make sure PATH includes the karma bin directory otherwise
we see the following:
----
aclouter@stevemcqueen:/usr/src/aten-ikvm/noVNC$ npm test

> noVNC@0.5.0 test /usr/src/aten-ikvm/noVNC
> karma start karma.conf.js

sh: 1: karma: not found
npm ERR! Test failed.  See above for more details.
npm ERR! not ok code 0
----
package.json