Adaptation of previous changes to the change from 61241e7 (null instead of undefined as the initial value)
This commit is contained in:
@@ -33,6 +33,11 @@ describe('ol.events.EventTarget', function () {
|
||||
});
|
||||
target.dispatchEvent('my-event');
|
||||
});
|
||||
it('does not initialize objects in advance', function () {
|
||||
expect(eventTarget.pendingRemovals_).to.be(null);
|
||||
expect(eventTarget.dispatching_).to.be(null);
|
||||
expect(eventTarget.listeners_).to.be(null);
|
||||
});
|
||||
});
|
||||
|
||||
describe('#hasListener', function () {
|
||||
|
||||
Reference in New Issue
Block a user