Skip to content

Commit

Permalink
add debug statement
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasneirynck committed Jul 7, 2017
1 parent c1d9fe9 commit 0e77c86
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ui/public/test_harness/test_harness.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ before(() => {

beforeEach(function () {
if (Notifier.prototype._notifs.length) {
const notifs = JSON.stringify(Notifier.prototype._notifs);
Notifier.prototype._notifs.length = 0;
throw new Error('notifications were left in the notifier');
throw new Error('notifications were left in the notifier: ' + notifs);
}
});

Expand Down

0 comments on commit 0e77c86

Please sign in to comment.