Skip to content

Commit 8fd510a

Browse files
committed
test: updated unit test
1 parent ae671dd commit 8fd510a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/inject/__test__/inject-cssvars.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ describe('inject-cssvars', () => {
161161
})
162162

163163
test('avoid repeated injections', () => {
164-
const mockCode = '\n"color": color.value,'
164+
const mockCode = '\n "color": color.value,'
165165
const vbindVariableList = [{ value: 'color', has: true, hash: 'color', isRef: true }]
166166
const result = createCSSVarsObjCode(vbindVariableList as any, true, new MagicString(mockCode))
167167
expect(result).not.toBeTruthy()

0 commit comments

Comments
 (0)