Caleb Porzio %!s(int64=4) %!d(string=hai) anos
pai
achega
b425d585a8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tests/cypress/integration/directives/x-for.spec.js

+ 1 - 1
tests/cypress/integration/directives/x-for.spec.js

@@ -418,7 +418,7 @@ test('x-for works with undefined',
             <template x-for="i in items">
                 <span x-text="i"></span>
             </template>
-            <button @click="items.push(2)" id="first">click me</button>
+            <button @click="items = [2]" id="first">click me</button>
         </div>
     `,
     ({ get }) => {