Skip to content

Commit 7f48cf5

Browse files
committed
fix test
1 parent 943f2e6 commit 7f48cf5

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

tests/lib/rules/no-setup-props-destructure.js

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -504,21 +504,6 @@ tester.run('no-setup-props-destructure', rule, {
504504
}
505505
]
506506
},
507-
{
508-
filename: 'test.vue',
509-
code: `
510-
<script setup>
511-
const {count} = defineProps({count:Number})
512-
</script>
513-
`,
514-
errors: [
515-
{
516-
message:
517-
'Destructuring the `props` will cause the value to lose reactivity.',
518-
line: 3
519-
}
520-
]
521-
},
522507
{
523508
filename: 'test.vue',
524509
code: `

0 commit comments

Comments
 (0)