Skip to content

Commit a0163f1

Browse files
committed
chore: fix snapshots
1 parent 70dc3e3 commit a0163f1

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

packages/compiler-ssr/__tests__/ssrVShow.spec.ts

+7-7
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ describe('ssr: v-show', () => {
66
"const { ssrRenderStyle: _ssrRenderStyle } = require(\\"@vue/server-renderer\\")
77
88
return function ssrRender(_ctx, _push, _parent) {
9-
_push(\`<div\${_ssrRenderStyle((_ctx.foo) ? null : { display: \\"none\\" })}></div>\`)
9+
_push(\`<div style=\\"\${_ssrRenderStyle((_ctx.foo) ? null : { display: \\"none\\" })}\\"></div>\`)
1010
}"
1111
`)
1212
})
@@ -19,10 +19,10 @@ describe('ssr: v-show', () => {
1919
const _hoisted_1 = {\\"color\\":\\"red\\"}
2020
2121
return function ssrRender(_ctx, _push, _parent) {
22-
_push(\`<div\${_ssrRenderStyle([
22+
_push(\`<div style=\\"\${_ssrRenderStyle([
2323
_hoisted_1,
2424
(_ctx.foo) ? null : { display: \\"none\\" }
25-
])}></div>\`)
25+
])}\\"></div>\`)
2626
}"
2727
`)
2828
})
@@ -33,10 +33,10 @@ describe('ssr: v-show', () => {
3333
"const { ssrRenderStyle: _ssrRenderStyle } = require(\\"@vue/server-renderer\\")
3434
3535
return function ssrRender(_ctx, _push, _parent) {
36-
_push(\`<div\${_ssrRenderStyle([
36+
_push(\`<div style=\\"\${_ssrRenderStyle([
3737
{ color: 'red' },
3838
(_ctx.foo) ? null : { display: \\"none\\" }
39-
])}></div>\`)
39+
])}\\"></div>\`)
4040
}"
4141
`)
4242
})
@@ -51,11 +51,11 @@ describe('ssr: v-show', () => {
5151
const _hoisted_1 = {\\"color\\":\\"red\\"}
5252
5353
return function ssrRender(_ctx, _push, _parent) {
54-
_push(\`<div\${_ssrRenderStyle([
54+
_push(\`<div style=\\"\${_ssrRenderStyle([
5555
_hoisted_1,
5656
{ fontSize: 14 },
5757
(_ctx.foo) ? null : { display: \\"none\\" }
58-
])}></div>\`)
58+
])}\\"></div>\`)
5959
}"
6060
`)
6161
})

0 commit comments

Comments
 (0)