abeggchr / jest-hue-reporter

Reports Jest test results to Phillips Hue light bulbs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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'

About

Reports Jest test results to Phillips Hue light bulbs.

License:MIT License


Languages

Language:JavaScript 100.0%