Skip to content

Commit

Permalink
✅ Fixes duplicate/inaccurate test (#3520)
Browse files Browse the repository at this point in the history
  • Loading branch information
ekwoka committed May 10, 2023
1 parent 5b88c86 commit 8d23398
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/cypress/integration/directives/x-bind.spec.js
Expand Up @@ -391,8 +391,8 @@ test('x-bind object syntax event handlers defined as functions receive the event
<script>
window.data = () => { return {
button: {
['@click']() {
this.$refs.span.innerText = this.$el.id
['@click'](event) {
this.$refs.span.innerText = event.currentTarget.id
}
}
}}
Expand All @@ -410,7 +410,7 @@ test('x-bind object syntax event handlers defined as functions receive the event
}
)

test('x-bind object syntax event handlers defined as functions receive the event object as their first argument',
test('x-bind object syntax event handlers defined as functions receive element bound magics',
html`
<script>
window.data = () => { return {
Expand Down

0 comments on commit 8d23398

Please sign in to comment.