Skip to content

Commit 2447a76

Browse files
authored
Update tests.js
1 parent 0145e39 commit 2447a76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/tests.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ let tests = {
6363
const nextFile = fileWrapper.querySelector('.file.selected').nextElementSibling;
6464
const prevFile = fileWrapper.querySelector('.file.selected').previousElementSibling;
6565

66-
if (prevFile) click(prevFile);
67-
else if (nextFile) click(nextFile);
66+
if (prevFile) tests.click(prevFile);
67+
else if (nextFile) tests.click(nextFile);
6868

6969
},
7070

0 commit comments

Comments
 (0)