Fixed jake runtests-browser on node 0.12

This commit is contained in:
Dick van den Brink 2015-03-07 01:38:42 +01:00
parent af41be88a1
commit 4c16b239be

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'
});