Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
jridgewell committed Apr 20, 2017
1 parent d9ec050 commit 497c5b2
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions test/functional/test-event-helper.js
Expand Up @@ -153,22 +153,6 @@ describe('EventHelper', () => {
return promise;
});

it('listenOncePromise - with time limit', () => {
const event = getEvent('load', element);
const promise = expect(listenOncePromise(element, 'load', false, 100))
.to.eventually.become(event);
clock.tick(99);
loadObservable.fire(event);
return promise;
});

it('listenOncePromise - timeout', () => {
const promise = expect(listenOncePromise(element, 'load', false, 100))
.to.eventually.be.rejectedWith('timeout');
clock.tick(101);
return promise;
});

it('isLoaded for complete property', () => {
expect(isLoaded(element)).to.equal(false);
element.complete = true;
Expand Down

0 comments on commit 497c5b2

Please sign in to comment.