From 065887e712334bf3ef1679f4602093314da32c2a Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Thu, 10 Dec 2015 10:35:51 -0800 Subject: [PATCH] Pass through mocha invert option from test CLI --- spec/static/main.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spec/static/main.js b/spec/static/main.js index e83e79c1934b..4de123830ee4 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() {