fix(sfc): inherit parent scopeId on child rooot (#756)
This commit is contained in:
@@ -562,7 +562,7 @@ describe('ssr: renderToString', () => {
|
||||
}
|
||||
|
||||
expect(await renderToString(h(Parent))).toBe(
|
||||
`<div data-v-child><span data-v-test data-v-child-s>slot</span></div>`
|
||||
`<div data-v-test data-v-child><span data-v-test data-v-child-s>slot</span></div>`
|
||||
)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user