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 34f4244
Showing 1 changed file with 0 additions and 49 deletions.
49 changes: 0 additions & 49 deletions tests/lib/rules/custom-event-name-casing.js
Original file line number Diff line number Diff line change
Expand Up @@ -332,55 +332,6 @@ tester.run('custom-event-name-casing', rule, {
}
],
invalid: [
{
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: [
{
message: "Custom event name 'fooBar' must be kebab-case.",
line: 4,
column: 25,
endLine: 4,
endColumn: 33
},
{
message: "Custom event name 'barBaz' must be kebab-case.",
line: 11,
column: 28,
endLine: 11,
endColumn: 36
},
{
message: "Custom event name 'bazQux' must be kebab-case.",
line: 17,
column: 24,
endLine: 17,
endColumn: 32
}
]
},
{
filename: 'test.vue',
code: `
Expand Down

0 comments on commit 34f4244

Please sign in to comment.