Skip to content

Commit b228787

Browse files
Merge pull request #2243 from DickvdBrink/browser-test
Fixed jake runtests-browser on node 0.12
2 parents af41be8 + 4c16b23 commit b228787

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

tests/webTestServer.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -281,8 +281,6 @@ if ((browser && browser === 'chrome')) {
281281
console.log('Using browser: ' + browserPath);
282282

283283
var queryString = grep ? "?grep=" + grep : '';
284-
child_process.spawn(browserPath, ['http://localhost:' + port + '/tests/webTestResults.html' + queryString], (err: Error, stdout: any, stderr: any) => {
285-
console.log("ERR: " + err.message);
286-
console.log("STDOUT: " + stdout.toString());
287-
console.log("STDERR: " + stderr.toString());
288-
});
284+
child_process.spawn(browserPath, ['http://localhost:' + port + '/tests/webTestResults.html' + queryString], {
285+
stdio: 'inherit'
286+
});

0 commit comments

Comments
 (0)