Skip to content

Commit

Permalink
Temporarily log more info during tests
Browse files Browse the repository at this point in the history
  • Loading branch information
John Bartos committed Nov 28, 2016
1 parent 64bb895 commit 98b49e8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test-runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ function evalTest(vtt, json, testType, onDone) {
return onDone(e);
}
if (!deepEqual(vtt, json)) {
console.log(vtt);
console.log(json);
return onDone(new Error("Failed JSON diff while " + testType + ".\n" +
difflet.compare(vtt, json) + ".\n" + vtt + ".\n" + json));
difflet.compare(vtt, json)));
}
onDone();
}
Expand Down

0 comments on commit 98b49e8

Please sign in to comment.