Skip to content

Commit

Permalink
skip internal karma output ('\x1FEXIT{empty test suite}{exit code}'),…
Browse files Browse the repository at this point in the history
… logic synced with karma/lib/runner.js
  • Loading branch information
segrey committed Aug 9, 2016
1 parent c4d080e commit 7380d43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/intellijRunner.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function stripExitCodeInfo(buffer) {
if (!Buffer.isBuffer(buffer)) {
return buffer;
}
var tailPos = buffer.length - EXIT_CODE_BUF.length - 1;
var tailPos = buffer.length - EXIT_CODE_BUF.length - 2;
if (tailPos < 0) {
return buffer;
}
Expand Down

0 comments on commit 7380d43

Please sign in to comment.