Skip to content

Commit

Permalink
test: add test case
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Sep 18, 2024
1 parent 7f48cf5 commit a81585d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/lib/rules/no-setup-props-reactivity-loss.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,14 @@ tester.run('no-setup-props-reactivity-loss', rule, {
</script>
`
},
{
filename: 'test.vue',
code: `
<script setup>
const {count} = defineProps({count:Number})
</script>
`
},
{
filename: 'test.vue',
code: `
Expand Down

0 comments on commit a81585d

Please sign in to comment.