Caleb Porzio 3 年之前
父节点
当前提交
091efe7ba2
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      tests/cypress/integration/plugins/intersect.spec.js

+ 3 - 3
tests/cypress/integration/plugins/intersect.spec.js

@@ -59,13 +59,13 @@ test('It should evaluate with ":leave" only when the component is not intersecte
     },
 )
 
-test.only('.half thing',
+test('.half',
     [html`
     <div x-data="{ count: 0 }">
         <span x-text="count"></span>
 
         <div id="container" style="height: 400px; overflow-y: scroll;">
-            <div style="height: 401px;">spacer</div>
+            <div style="height: 410px;">spacer</div>
 
             <div style="height: 400px" x-intersect.half="count++">
                 <div style="text-align: center;">content</div>
@@ -82,7 +82,7 @@ test.only('.half thing',
     },
 )
 
-test.only('.full thing',
+test('.full',
     [html`
     <div x-data="{ count: 0 }">
         <span x-text="count"></span>