Skip to content

Commit

Permalink
chore: fix snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Feb 15, 2020
1 parent 70dc3e3 commit a0163f1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions packages/compiler-ssr/__tests__/ssrVShow.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ describe('ssr: v-show', () => {
"const { ssrRenderStyle: _ssrRenderStyle } = require(\\"@vue/server-renderer\\")
return function ssrRender(_ctx, _push, _parent) {
_push(\`<div\${_ssrRenderStyle((_ctx.foo) ? null : { display: \\"none\\" })}></div>\`)
_push(\`<div style=\\"\${_ssrRenderStyle((_ctx.foo) ? null : { display: \\"none\\" })}\\"></div>\`)
}"
`)
})
Expand All @@ -19,10 +19,10 @@ describe('ssr: v-show', () => {
const _hoisted_1 = {\\"color\\":\\"red\\"}
return function ssrRender(_ctx, _push, _parent) {
_push(\`<div\${_ssrRenderStyle([
_push(\`<div style=\\"\${_ssrRenderStyle([
_hoisted_1,
(_ctx.foo) ? null : { display: \\"none\\" }
])}></div>\`)
])}\\"></div>\`)
}"
`)
})
Expand All @@ -33,10 +33,10 @@ describe('ssr: v-show', () => {
"const { ssrRenderStyle: _ssrRenderStyle } = require(\\"@vue/server-renderer\\")
return function ssrRender(_ctx, _push, _parent) {
_push(\`<div\${_ssrRenderStyle([
_push(\`<div style=\\"\${_ssrRenderStyle([
{ color: 'red' },
(_ctx.foo) ? null : { display: \\"none\\" }
])}></div>\`)
])}\\"></div>\`)
}"
`)
})
Expand All @@ -51,11 +51,11 @@ describe('ssr: v-show', () => {
const _hoisted_1 = {\\"color\\":\\"red\\"}
return function ssrRender(_ctx, _push, _parent) {
_push(\`<div\${_ssrRenderStyle([
_push(\`<div style=\\"\${_ssrRenderStyle([
_hoisted_1,
{ fontSize: 14 },
(_ctx.foo) ? null : { display: \\"none\\" }
])}></div>\`)
])}\\"></div>\`)
}"
`)
})
Expand Down

0 comments on commit a0163f1

Please sign in to comment.