Skip to content

Commit

Permalink
test: add test case for .tsx components
Browse files Browse the repository at this point in the history
  • Loading branch information
haoqunjiang committed Sep 28, 2024
1 parent e743eca commit 81183ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/lib/utils/vue-component.js
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,7 @@ ruleTester.run('vue-component', rule, {
},
...validTests('js'),
...validTests('jsx'),
...validTests('tsx'),
...validTests('vue')
],
invalid: [
Expand All @@ -356,6 +357,7 @@ ruleTester.run('vue-component', rule, {
},
...invalidTests('js'),
...invalidTests('jsx'),
...invalidTests('tsx'),
...invalidTests('vue')
]
})

0 comments on commit 81183ba

Please sign in to comment.