fix(sfc): inherit parent scopeId on child rooot (#756)
This commit is contained in:
@@ -26,6 +26,14 @@ describe('ssr: renderAttrs', () => {
|
||||
).toBe(` id="foo" title="bar"`)
|
||||
})
|
||||
|
||||
test('empty value attrs', () => {
|
||||
expect(
|
||||
ssrRenderAttrs({
|
||||
'data-v-abc': ''
|
||||
})
|
||||
).toBe(` data-v-abc`)
|
||||
})
|
||||
|
||||
test('escape attrs', () => {
|
||||
expect(
|
||||
ssrRenderAttrs({
|
||||
|
||||
Reference in New Issue
Block a user