Skip to content

Commit 08c1217

Browse files
committed
chore: wrap component to get the type
1 parent dffd7c9 commit 08c1217

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/server-renderer/__tests__/render.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -834,11 +834,11 @@ function testRender(type: string, render: typeof renderToString) {
834834
await render(
835835
createApp({
836836
components: {
837-
A: {
837+
A: defineComponent({
838838
ssrRender(_ctx, _push) {
839839
_push(`<div>A</div>`)
840840
}
841-
},
841+
}),
842842
B: {
843843
render: () => h('div', 'B')
844844
}

0 commit comments

Comments
 (0)