Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
Signed-off-by: Ruben Vargas <ruben.vp8510@gmail.com>
  • Loading branch information
rubenvp8510 committed Jul 15, 2021
1 parent caa30a0 commit 09664d9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ describe('AltViewOptions', () => {
if (link.children().text() === text) return link;
}
const links2 = menu.find('a');
for (let i = 0; i < links.length; i++) {
for (let i = 0; i < links2.length; i++) {
const link = links2.at(i);
if (link.children().text() === text) return link;
}
Expand Down

0 comments on commit 09664d9

Please sign in to comment.