Skip to content

Commit

Permalink
Remove duplicate test case
Browse files Browse the repository at this point in the history
  • Loading branch information
FloEdelmann committed Apr 8, 2024
1 parent a0ae4ed commit 00e3727
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions tests/lib/rules/custom-event-name-casing.js
Original file line number Diff line number Diff line change
Expand Up @@ -575,37 +575,6 @@ tester.run('custom-event-name-casing', rule, {
]
},
// kebab-case
{
filename: 'test.vue',
code: `
<template>
<input
@click="$emit('fooBar')">
</template>
<script>
export default {
setup(props, context) {
return {
onInput(value) {
context.emit('barBaz')
}
}
},
methods: {
onClick() {
this.$emit('bazQux')
}
}
}
</script>
`,
options: ['kebab-case'],
errors: [
"Custom event name 'fooBar' must be kebab-case.",
"Custom event name 'barBaz' must be kebab-case.",
"Custom event name 'bazQux' must be kebab-case."
]
},
{
filename: 'test.vue',
code: `
Expand Down

0 comments on commit 00e3727

Please sign in to comment.