get hints from window
This commit is contained in:
parent
890f84c343
commit
bebf8e2327
3 changed files with 13 additions and 13 deletions
|
@ -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);
|
||||
|
|
Reference in a new issue