Skip to content

Commit

Permalink
[testHarness] use generic Error class
Browse files Browse the repository at this point in the history
  • Loading branch information
spalger committed Oct 25, 2016
1 parent 0cdef8c commit 34659fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/public/test_harness/test_harness.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ before(function () {
beforeEach(function () {
if (Notifier.prototype._notifs.length) {
Notifier.prototype._notifs.length = 0;
throw new TypeError('notifications were left in the notifier');
throw new Error('notifications were left in the notifier');
}
});

Expand Down

0 comments on commit 34659fb

Please sign in to comment.