From: Kevin Sawicki Date: Thu, 10 Dec 2015 18:35:51 +0000 (-0800) Subject: Pass through mocha invert option from test CLI X-Git-Tag: v0.36.0~1^2~1 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=065887e712334bf3ef1679f4602093314da32c2a;p=electron.git Pass through mocha invert option from test CLI --- diff --git a/spec/static/main.js b/spec/static/main.js index e83e79c1..4de12383 100644 --- a/spec/static/main.js +++ b/spec/static/main.js @@ -10,6 +10,7 @@ const url = require('url'); var argv = require('yargs') .boolean('ci') .string('g').alias('g', 'grep') + .boolean('i').alias('i', 'invert') .argv; var window = null; @@ -78,7 +79,8 @@ app.on('ready', function() { pathname: __dirname + '/index.html', protocol: 'file', query: { - grep: argv.grep + grep: argv.grep, + invert: argv.invert ? 'true': '' } })); window.on('unresponsive', function() {