Skip to content

Commit 4c8a3b7

Browse files
authored
test: avoid definePageMeta compiler-hint warning (#1523)
1 parent c6e4b78 commit 4c8a3b7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

examples/app-vitest-full/pages/index.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@
22
<div>Index page</div>
33
</template>
44

5-
<script lang="ts">
5+
<script setup lang="ts">
66
definePageMeta({
77
value: 'set in index',
88
})
9+
</script>
10+
11+
<script lang="ts">
912
if (import.meta.vitest) {
1013
const { it, expect } = import.meta.vitest
1114
it('add', () => {

0 commit comments

Comments
 (0)