Skip to content

Commit 58c4a06

Browse files
committed
u
1 parent cc7452d commit 58c4a06

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ tester.run('no-import-compiler-macros', rule, {
3030
filename: 'test.vue',
3131
code: `
3232
<script>
33-
import { defineProps } from 'some-other-package'
33+
// not in <script setup>
34+
import { defineProps } from 'vue'
3435
</script>
3536
`
3637
}
@@ -45,7 +46,7 @@ tester.run('no-import-compiler-macros', rule, {
4546
`,
4647
output: `
4748
<script setup>
48-
49+
4950
</script>
5051
`,
5152
errors: [

0 commit comments

Comments
 (0)