fix(sfc/scoped-style): inherit scopeId through nested HOCs with inheritAttrs: false
fix #1988
This commit is contained in:
@@ -595,7 +595,7 @@ describe('ssr: renderToStream', () => {
|
||||
}
|
||||
|
||||
expect(await renderToStream(h(Parent))).toBe(
|
||||
`<div data-v-test data-v-child><span data-v-test data-v-child-s>slot</span></div>`
|
||||
`<div data-v-child data-v-test><span data-v-test data-v-child-s>slot</span></div>`
|
||||
)
|
||||
})
|
||||
})
|
||||
|
||||
@@ -551,7 +551,7 @@ describe('ssr: renderToString', () => {
|
||||
}
|
||||
|
||||
expect(await renderToString(h(Parent))).toBe(
|
||||
`<div data-v-test data-v-child><span data-v-test data-v-child-s>slot</span></div>`
|
||||
`<div data-v-child data-v-test><span data-v-test data-v-child-s>slot</span></div>`
|
||||
)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user