Skip to content

Commit

Permalink
chore: update snapshots by vuejs#7766
Browse files Browse the repository at this point in the history
  • Loading branch information
baiwusanyu-c committed Mar 28, 2023
1 parent 10db9c7 commit cc60da2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/compiler-sfc/__tests__/cssVars.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ describe('CSS vars injection', () => {
</style>`
)
expect(content).toMatch(
`import { useCssVars as _useCssVars, unref as _unref } from 'vue'\nimport { ref as _ref } from 'vue';\n \nexport default {\n setup(__props, { expose: __expose }) {\n __expose();\n\n_useCssVars(_ctx => ({\n "xxxxxxxx-background": (_unref(background))\n}))\nlet background = _ref('red')\n \nreturn { get background() { return background }, set background(v) { background = v }, _ref }\n}\n\n}`
`export default {\n setup(__props, { expose: __expose }) {\n __expose();\n\n_useCssVars(_ctx => ({\n "xxxxxxxx-background": (_unref(background))\n}))`
)
})
})
Expand Down

0 comments on commit cc60da2

Please sign in to comment.