소스 검색

Fix tests

Caleb Porzio 4 년 전
부모
커밋
b425d585a8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 }) => {