From 52138e0078cb92e3026a64dab1aa40922e66ad83 Mon Sep 17 00:00:00 2001 From: Andy Hanson Date: Mon, 6 Jun 2016 11:48:08 -0700 Subject: [PATCH] Make `jake runtests-browser` support test regexes with spaces For example: `jake runtests-browser t="transpile .js files"` now works. --- Jakefile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jakefile.js b/Jakefile.js index c4f56c559f3..e03e5e6f5b0 100644 --- a/Jakefile.js +++ b/Jakefile.js @@ -855,7 +855,7 @@ task("runtests-browser", ["tests", "browserify", builtLocalDirectory, servicesFi } tests = tests ? tests : ''; - var cmd = host + " tests/webTestServer.js " + port + " " + browser + " " + tests; + var cmd = host + " tests/webTestServer.js " + port + " " + browser + " " + JSON.stringify(tests); console.log(cmd); exec(cmd); }, {async: true});