]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: update snapshots by #7766 (#7970)
author白雾三语 <32354856+baiwusanyu-c@users.noreply.github.com>
Tue, 28 Mar 2023 10:27:09 +0000 (18:27 +0800)
committerGitHub <noreply@github.com>
Tue, 28 Mar 2023 10:27:09 +0000 (12:27 +0200)
packages/compiler-sfc/__tests__/cssVars.spec.ts

index 05e5f689ac9008578301563bfe7fd1c870a552b1..5b01d73d77225f439850811cbdc77b03388bc481 100644 (file)
@@ -269,7 +269,7 @@ describe('CSS vars injection', () => {
              </style>`
       )
       expect(content).toMatch(
-        `export default {\n  setup(__props, { expose }) {\n  expose();\n\n_useCssVars(_ctx => ({\n  "xxxxxxxx-background": (_unref(background))\n}))`
+        `export default {\n  setup(__props, { expose: __expose }) {\n  __expose();\n\n_useCssVars(_ctx => ({\n  "xxxxxxxx-background": (_unref(background))\n}))`
       )
     })
   })