- Updated to latest Mocha.js
- Enable isolated context by default in renderer tests
- Allow importing native ESM in renderer tests
- Added --show-window option for renderer tests
- Update which and mocha dependencies
- Support Electron 29
- Support Electron 28
- Load ESM requires in main
- Do not close window on errors in interactive mode
- Update to Mocha 10.x
- Fix legacy require
- Update to Electron 16
- Update to Mocha 9.x
- Update to Electron 13
- Update Mocha and pin to 8.x (pre-ESM)
- Add --window-config option to configure renderer window. See #174
- Disable remote module in renderer test by default. --window-config can be used to enable it.
- Add console.assert support for renderer tests.
- Fix renderer error handling. See #170
- Stop using
remote
module for console calls. #166 - Add --warnings option to print renderer warnings to console.
- Update to Mocha 8.2.x
- Add proper --preload option for renderer tests. #164
- Add --url option to load custom URLs or file paths. #161
- Fix --require handling in Mocha 8.x
- Update to Mocha 8.x
- Add support for Electron 10 beta
- Force exit from cleanup script #155
- Update to mocha 7.1.x
- Respect --full-trace option #153
- Update to mocha 7.x
- Fix bad exit code 0 on some Renderer errors.
- Fix missing default spec path 'test'.
- Fix loading custom reporters in Renderer.
- Update to mocha 6.2.x.
- Let mocha handle uncaught errors in hooks.
- Fix stdio from renderer process in Electron 5.
- Electron 2.x backwards compatibility.
- Support all Mocha CLI options.
- Use
yargs
instead ofcommander
(like Mocha). - Update to Mocha 6.1.
- Drop support for Node.js 6 and older.
- Update to Mocha 6.
- Support multiple --require-main scripts. #136
- Prevent app suspension. See #129
- Removed electron-prebuilt-compile.
- Update to Mocha 5.
- Add --delay option. See #122
- Update to Mocha 4.
- Remove --compilers option.
- Fixed support for electron-compile. See #112
- Update dependencies
- Added support for electron-compile. See #111
- Load --require-main script before app 'ready' event. This allows scripts to configure Electron before the event is fired.
- Clean-up tmp userData in separate task. See: #105
- Re-enable --bail option
- Add -O / --reporter-options from Mocha.js
- Update fs-extra dependency
- Fix --interactive move. See: #97
- Use ES6 consistently
- Add --interactive options. See: #91
- Allow window focus when using --debug-brk
- Add --require-main option. See: #84
- Do not focus test window. See: #83
- Fix support for Node 4/5
- Remove superfluous debug statement
- Support electron npm package
- Prefer $ELECTRON_PATH over locally installed electron. See: #73
- Update to Mocha 3.0.0
- Listen and ignore 'window-all-closed' instead of aborting 'will-quit'
- Use fs.mkdtemp to create temporary workspace
- Add --debug and --debug-brk options. See: #70
- Close test window after --renderer tests have finished
- Add --no-colors option
- Don't stop early if tests open/close windows
- Fixed incorrect exit code after Renderer failures See: #60
- Removed Electron 0.x checks / compatibility
- Electron 1.0 compatibility
- Update dependencies
- Update dependencies
- Load compiler before require options. See: #57
- window destroyed on exit. See: #56
- fallback to local
electron-prebuilt
if can't findelectron
in the$PATH
#55
- Add --preload option. See: #45
- Update to latest mocha
- Ensure backwards compatibility of previous version
- Update BrowserWindow options syntax for Electron >= 0.37.4. Removes deprecation warnings.
- console piping issue #48
- Fix remote output w/ line breaks. See #40
- update
electron-window
dep. (For electron >=0.35
). Removes deprecation warnings. See: #31 - clean up require statements (Electron modules). See: #29
--require
support fixed in Renderer. See: #33
- fix for deprecation warnings in Electron
v0.35
. See: #26
- report error if in mocha: See: #25
- fix exit code on
bin/electron-mocha
: See: #22
- add support for mocha opts: See: #21
- bugfix: expose
mocha
towindow
as Mocha does. See: #20
- end Electron with proper exit code now. See: #17
- added
--compilers
flag. See: #16
- bugfix: incorrect stdin/stdout values (fail on Node v0.10): #8 0.3.0 / 2015-07-30
- display an error about not being able locate
electron
- change
process.stdout
hijacking #6 - removed
node_modules
#7
- bugfix on finding
index.html
for--renderer
tests
- upgraded to
electron-window@0.5.0
(Electron removedglobal
for non-node integration)
- forgot
fs
inargs.js
- JavaScript Standard Style
- initial release