Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 662 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 662 Bytes

Jest Hue Reporter

Reports Jest test results to Phillips Hue light bulbs.

Setup

  1. Clone this repo to a folder
  2. Execute npm install
  3. Discover and connect to the Hue Bridge for the first time as described in node-hue-api documentation
  4. Change hue-reporter.js file and fill in your USERNAME, IP and LAMP_IDS

Usage

  1. Change package.json of your application and add a new test.hue script which includes the hue reporter: "test.hue": "react-scripts test --reporters='default' --reporters='../hue-reporter/hue-reporter.js'