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
npm install tape-run-electron
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 ;)