[testHarness] use generic Error class

This commit is contained in:
spalger 2016-10-25 15:11:39 -07:00
parent 0cdef8cd5e
commit 34659fb45f

View file

@ -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');
}
});