Run in browser test from the command line
npm install browser-test-runnerWrite tests as a web page, run from the command line for ci.
Outputs coverage for istanbul instrumented code.
## Install
``bash`
npm install browser-test-runner
Run tests on a browser:
`bash`
browser-test-runner chrome 'target/test/index.html'
browser-test-runner firefox 'target/test/index.html'
browser-test-runner safari 'target/test/index.html'
browser-test-runner chrome-headless 'target/test/index.html'
Host the test file, and re-run the tests on any browser that has the page open
whenever the tests are changed
`bash`
browser-test-runner start 'target/test/index.html'
## Changelog
- Replace browser-test-runner phantom with browser-test-runner chrome-headless`, which is backed by puppeteer