Skip to content

Commit 05ddad7

Browse files
committed
update tests
1 parent 1841506 commit 05ddad7

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

tests/lib/rules/no-import-compiler-macros.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ tester.run('no-import-compiler-macros', rule, {
2626
</script>
2727
`
2828
},
29+
{
30+
filename: 'test.vue',
31+
code: `
32+
<script setup>
33+
import { defineProps } from 'some-other-package'
34+
</script>
35+
`
36+
},
2937
{
3038
filename: 'test.vue',
3139
code: `
@@ -46,7 +54,7 @@ tester.run('no-import-compiler-macros', rule, {
4654
`,
4755
output: `
4856
<script setup>
49-
57+
5058
</script>
5159
`,
5260
errors: [

0 commit comments

Comments
 (0)