chore: fix tests

This commit is contained in:
Evan You
2020-11-18 22:34:55 -05:00
parent 64160e89cc
commit 4d5242128e
3 changed files with 3 additions and 3 deletions

View File

@@ -43,7 +43,7 @@ describe('CSS vars injection', () => {
// 3. props bindings (analyzed)
expect(content).toMatch(`_useCssVars(_ctx => ({
"${mockId}-color": (color),
"${mockId}-size": (_unref(size)),
"${mockId}-size": (size.value),
"${mockId}-foo": (__props.foo)
})`)
expect(content).toMatch(