fix: add eqeqeq lint rule (#5106)

This commit is contained in:
LongYinan
2023-11-29 04:43:31 +00:00
parent a843dcd851
commit 923844f302
12 changed files with 18 additions and 16 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ async function waitForScrollToFinish(page: Page) {
let lastScrollTop: number;
const interval = setInterval(() => {
const { scrollTop } = document.documentElement;
if (scrollTop != lastScrollTop) {
if (scrollTop !== lastScrollTop) {
lastScrollTop = scrollTop;
} else {
clearInterval(interval);