tape-run-electron
A tape test runner that runs your tests in electron
cat tests/*.js | tape-run-electron
or
browserify tests/*.js | tape-run-electron
You need to have electron and tape locally or globally
Install
npm install tape-run-electron
Gotchas
electron is not really a browser.
__dirname is global which may break tests.
For now I suggest running with browserify or such as thats what you're testing anyhows ;)