chore: fix missed snapshots

This commit is contained in:
Evan You 2020-06-26 17:00:50 -04:00
parent d5dbd27193
commit 7777473ddd

View File

@ -494,7 +494,7 @@ describe('compiler: codegen', () => {
) )
expect(code).toMatchInlineSnapshot(` expect(code).toMatchInlineSnapshot(`
" "
export function ssrRender(_ctx, _push, _parent) { export function ssrRender(_ctx, _push, _parent, _attrs) {
_push(\`foo\${_renderAttr(id, foo)}bar\`) _push(\`foo\${_renderAttr(id, foo)}bar\`)
}" }"
`) `)
@ -515,7 +515,7 @@ describe('compiler: codegen', () => {
) )
expect(code).toMatchInlineSnapshot(` expect(code).toMatchInlineSnapshot(`
" "
export function ssrRender(_ctx, _push, _parent) { export function ssrRender(_ctx, _push, _parent, _attrs) {
if (foo) { if (foo) {
ok() ok()
} }
@ -538,7 +538,7 @@ describe('compiler: codegen', () => {
) )
expect(code).toMatchInlineSnapshot(` expect(code).toMatchInlineSnapshot(`
" "
export function ssrRender(_ctx, _push, _parent) { export function ssrRender(_ctx, _push, _parent, _attrs) {
if (foo) { if (foo) {
foo() foo()
} else { } else {
@ -566,7 +566,7 @@ describe('compiler: codegen', () => {
) )
expect(code).toMatchInlineSnapshot(` expect(code).toMatchInlineSnapshot(`
" "
export function ssrRender(_ctx, _push, _parent) { export function ssrRender(_ctx, _push, _parent, _attrs) {
if (foo) { if (foo) {
foo() foo()
} else if (bar) { } else if (bar) {
@ -595,7 +595,7 @@ describe('compiler: codegen', () => {
) )
expect(code).toMatchInlineSnapshot(` expect(code).toMatchInlineSnapshot(`
" "
export function ssrRender(_ctx, _push, _parent) { export function ssrRender(_ctx, _push, _parent, _attrs) {
if (foo) { if (foo) {
foo() foo()
} else if (bar) { } else if (bar) {