chore: fix missed snapshots
This commit is contained in:
parent
d5dbd27193
commit
7777473ddd
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user