Browse Source

Remove duplicated test

Caleb Porzio 3 years ago
parent
commit
ed853b4c9c
1 changed files with 0 additions and 24 deletions
  1. 0 24
      tests/cypress/integration/directives/x-bind.spec.js

+ 0 - 24
tests/cypress/integration/directives/x-bind.spec.js

@@ -409,27 +409,3 @@ test('x-bind object syntax event handlers defined as functions receive the event
         get('span').should(haveText('bar'))
     }
 )
-
-test('x-bind object syntax ',
-    html`
-        <script>
-            window.data = () => { return {
-                button: {
-                    ['@click']() {
-                        this.$refs.span.innerText = this.$el.id
-                    }
-                }
-            }}
-        </script>
-        <div x-data="window.data()">
-            <button x-bind="button" id="bar">click me</button>
-
-            <span x-ref="span">foo</span>
-        </div>
-    `,
-    ({ get }) => {
-        get('span').should(haveText('foo'))
-        get('button').click()
-        get('span').should(haveText('bar'))
-    }
-)