nodaguti / gulp-electron-mocha

Run client-side Mocha tests in Electron
MIT License
3 stars 3 forks source link

How to run unit tests in a browser window? #43

Closed ngprasad closed 7 years ago

ngprasad commented 7 years ago

@nodaguti Is there a way to run some unit tests in a browser window? Basically, I want to unit test some scripts that I am injecting into a window.

ngprasad commented 7 years ago

My apologies for not reading the documentation. I added renderer: true as one of the options and I am now able to test some of the functions that run in the renderer process.