mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[testHarness] use generic Error class
This commit is contained in:
parent
0cdef8cd5e
commit
34659fb45f
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue