Sample electron application tested with tape
# clone the repo
$ git clone https://github.com/tundrax/electron-tap-sample.git
$ cd electron-tap-sample
# install dependencies
$ npm i
# run tests
$ npm run test:renderer
Test results are reported in console