]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: fix missed snapshots
authorEvan You <yyx990803@gmail.com>
Fri, 26 Jun 2020 21:00:50 +0000 (17:00 -0400)
committerEvan You <yyx990803@gmail.com>
Fri, 26 Jun 2020 21:00:50 +0000 (17:00 -0400)
packages/compiler-core/__tests__/codegen.spec.ts

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