mocha-l8-reporter
v1.0.0
Published
Mocha reporter using the L8 smartlight
Downloads
3
Readme
mocha l8 smartlight reporter
Reporter unsing the L8 Smartlight as an extreme feedback device for mocha tests.
##Prerequisites
- L8 is accessible, e.g.
cat /dev/ttyACM0
- On linux plugin the L8 and see the dmesg output to find the device name
- if you got permission denied add user to the dialout group (ubuntu)
sudo usermod -a -G dialout $USER
Usage
- Install mocha-l8-reporter as a dev depenency with
npm install --save --dev mocha-l8-reporter
or install globally withnpm install -g mocha-l8-reporter
- enable reporter with
-R mocha-l8-reporter
- if your l8 is not accessible via
/dev/ttyACM0
use- mocha [...] -O l8port=/dev/yourDevice```
- or L8_PORT=/dev/yourDevice mocha [...]```