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
- 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
usemocha [...] -O l8port=/dev/yourDevice
- or
L8_PORT=/dev/yourDevice mocha [...]