aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/content/components/follow.test.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/content/components/follow.test.js b/test/content/components/follow.test.js
index 5c3e1d5..c8ae58b 100644
--- a/test/content/components/follow.test.js
+++ b/test/content/components/follow.test.js
@@ -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);