Merge pull request #2243 from DickvdBrink/browser-test

Fixed jake runtests-browser on node 0.12
This commit is contained in:
Daniel Rosenwasser 2015-03-06 17:24:02 -08:00
commit b2287875ca

View File

@ -281,8 +281,6 @@ if ((browser && browser === 'chrome')) {
console.log('Using browser: ' + browserPath);
var queryString = grep ? "?grep=" + grep : '';
child_process.spawn(browserPath, ['http://localhost:' + port + '/tests/webTestResults.html' + queryString], (err: Error, stdout: any, stderr: any) => {
console.log("ERR: " + err.message);
console.log("STDOUT: " + stdout.toString());
console.log("STDERR: " + stderr.toString());
});
child_process.spawn(browserPath, ['http://localhost:' + port + '/tests/webTestResults.html' + queryString], {
stdio: 'inherit'
});