فهرست منبع

chore: generate

opencode-agent[bot] 1 ماه پیش
والد
کامیت
77a31d2b6e
1فایلهای تغییر یافته به همراه2 افزوده شده و 11 حذف شده
  1. 2 11
      packages/app/e2e/regression/session-timeline-history-root.spec.ts

+ 2 - 11
packages/app/e2e/regression/session-timeline-history-root.spec.ts

@@ -137,19 +137,10 @@ for (const scenario of scenarios) {
             const part = viewport?.querySelector<HTMLElement>(`[data-timeline-part-id="${CSS.escape(partID)}"]`)
             const rect = part?.getBoundingClientRect()
             return (
-              !!rect &&
-              !!view &&
-              rect.width > 0 &&
-              rect.height > 0 &&
-              rect.bottom > view.top &&
-              rect.top < view.bottom
+              !!rect && !!view && rect.width > 0 && rect.height > 0 && rect.bottom > view.top && rect.top < view.bottom
             )
           }
-          if (
-            !virtual ||
-            state.visibleParts.length === 0 ||
-            state.visibleParts.some((partID) => !visible(partID))
-          )
+          if (!virtual || state.visibleParts.length === 0 || state.visibleParts.some((partID) => !visible(partID)))
             state.hidden = true
           state.samples++
         }