☕ Run Mocha tests using headless Google Chrome
npm install mocha-chrome[tests]: https://img.shields.io/circleci/project/github/shellscape/mocha-chrome.svg
[tests-url]: https://circleci.com/gh/shellscape/mocha-chrome
[size]: https://packagephobia.now.sh/badge?p=mocha-chrome
[size-url]: https://packagephobia.now.sh/result?p=mocha-chrome
[![tests][tests]][tests-url]
[![size][size]][size-url]

:coffee: Run Mocha tests using headless Google Chrome
mocha-chrome requires Node v8.0.0 or higher.
mocha-chrome is a development tool, which means you can use tools like NVM and nodenv to manage your installed versions, and temporarily switch to v8+ to run tests on your machine. Most modern CI environments also support specifying the version of Node to run.
To begin, you'll need to install mocha-chrome:
``console`
$ npm install mocha-chrome --save-dev
Then you'll need a local npm install of mocha:
`console`
$ npm install mocha --save-dev
To run the tests, you'll need an HTML file with some basics:
`html
`
You can then add your tests either through an external script file or inline within a