Skip to content

Commit 7777473

Browse files
committed
chore: fix missed snapshots
1 parent d5dbd27 commit 7777473

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/compiler-core/__tests__/codegen.spec.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ describe('compiler: codegen', () => {
494494
)
495495
expect(code).toMatchInlineSnapshot(`
496496
"
497-
export function ssrRender(_ctx, _push, _parent) {
497+
export function ssrRender(_ctx, _push, _parent, _attrs) {
498498
_push(\`foo\${_renderAttr(id, foo)}bar\`)
499499
}"
500500
`)
@@ -515,7 +515,7 @@ describe('compiler: codegen', () => {
515515
)
516516
expect(code).toMatchInlineSnapshot(`
517517
"
518-
export function ssrRender(_ctx, _push, _parent) {
518+
export function ssrRender(_ctx, _push, _parent, _attrs) {
519519
if (foo) {
520520
ok()
521521
}
@@ -538,7 +538,7 @@ describe('compiler: codegen', () => {
538538
)
539539
expect(code).toMatchInlineSnapshot(`
540540
"
541-
export function ssrRender(_ctx, _push, _parent) {
541+
export function ssrRender(_ctx, _push, _parent, _attrs) {
542542
if (foo) {
543543
foo()
544544
} else {
@@ -566,7 +566,7 @@ describe('compiler: codegen', () => {
566566
)
567567
expect(code).toMatchInlineSnapshot(`
568568
"
569-
export function ssrRender(_ctx, _push, _parent) {
569+
export function ssrRender(_ctx, _push, _parent, _attrs) {
570570
if (foo) {
571571
foo()
572572
} else if (bar) {
@@ -595,7 +595,7 @@ describe('compiler: codegen', () => {
595595
)
596596
expect(code).toMatchInlineSnapshot(`
597597
"
598-
export function ssrRender(_ctx, _push, _parent) {
598+
export function ssrRender(_ctx, _push, _parent, _attrs) {
599599
if (foo) {
600600
foo()
601601
} else if (bar) {

0 commit comments

Comments
 (0)