get hints from window

This commit is contained in:
Shin'ya Ueoka 2017-10-14 06:46:31 +09:00
parent 890f84c343
commit bebf8e2327
3 changed files with 13 additions and 13 deletions

View file

@ -8,7 +8,7 @@ describe('FollowComponent', () => {
});
it('returns visible links', () => {
let targets = FollowComponent.getTargetElements(window.document);
let targets = FollowComponent.getTargetElements(window);
expect(targets).to.have.lengthOf(3);
let ids = Array.prototype.map.call(targets, (e) => e.id);