electron-mocha
Advanced tools
Comparing version 9.2.0 to 9.3.0
<!-- Github links generated with: https://github.com/jprichardson/issue-links --> | ||
9.3.0 / 2020-10-19 | ||
------------------ | ||
- Update to Mocha 8.2.x | ||
9.2.0 / 2020-09-29 | ||
@@ -3,0 +7,0 @@ ------------------ |
@@ -8,3 +8,3 @@ 'use strict' | ||
handleRequires, | ||
validatePlugin | ||
validateLegacyPlugin | ||
} = require('mocha/lib/cli/run-helpers') | ||
@@ -23,5 +23,8 @@ | ||
await handleRequires(argv.require) | ||
validatePlugin(argv, 'reporter', Mocha.reporters) | ||
validatePlugin(argv, 'ui', Mocha.interfaces) | ||
if (validateLegacyPlugin) { | ||
validateLegacyPlugin(argv, 'reporter', Mocha.reporters) | ||
validateLegacyPlugin(argv, 'ui', Mocha.interfaces) | ||
} | ||
const mocha = new Mocha(argv) | ||
@@ -28,0 +31,0 @@ |
@@ -81,3 +81,3 @@ 'use strict' | ||
preload: { | ||
describe: 'Preload script', | ||
describe: 'Load module during renderer preload', | ||
group: 'Electron', | ||
@@ -84,0 +84,0 @@ implies: 'renderer', |
{ | ||
"name": "electron-mocha", | ||
"version": "9.2.0", | ||
"version": "9.3.0", | ||
"description": "Mocha tests in Electron.", | ||
@@ -46,8 +46,8 @@ "main": "lib/main.js", | ||
"log-symbols": "^4.0.0", | ||
"mocha": "^8.1.3", | ||
"mocha": "^8.2.0", | ||
"which": "^2.0.2", | ||
"yargs": "^16.0.3" | ||
"yargs": "^16.1.0" | ||
}, | ||
"devDependencies": { | ||
"electron": "^9.3.1", | ||
"electron": "^9.3.2", | ||
"standard": "^14.3.4" | ||
@@ -54,0 +54,0 @@ }, |
@@ -40,6 +40,7 @@ electron-mocha | ||
--renderer Run tests in renderer process [boolean] | ||
--require-main, --main Require module in main process [array] | ||
--script, --preload Load module in renderer via script tag [array] | ||
--require-main, --main Require module in main process [array] | ||
--script Load module in renderer via script tag [array] | ||
--interactive Show renderer tests in persistent window [boolean] | ||
--url, --index Load custom URL in renderer [string] | ||
--url, --index Load custom URL in renderer [string] | ||
--preload Load module during renderer preload [string] | ||
@@ -46,0 +47,0 @@ For the full list of available options, see `electron-mocha --help`. |
37937
359
118
Updatedmocha@^8.2.0
Updatedyargs@^16.1.0