From 03af83197ecb649da308982acebf45b7c9336eaa Mon Sep 17 00:00:00 2001 From: linzhe141 <1572213544@qq.com> Date: Sat, 5 Oct 2024 10:16:26 +0800 Subject: [PATCH] chore: update test --- packages/runtime-dom/__tests__/helpers/useCssVars.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/runtime-dom/__tests__/helpers/useCssVars.spec.ts b/packages/runtime-dom/__tests__/helpers/useCssVars.spec.ts index 732ece53725..c4df0873140 100644 --- a/packages/runtime-dom/__tests__/helpers/useCssVars.spec.ts +++ b/packages/runtime-dom/__tests__/helpers/useCssVars.spec.ts @@ -350,7 +350,7 @@ describe('useCssVars', () => { expect(() => render(h(App), root)).not.toThrow(TypeError) await nextTick() expect(target.children.length).toBe(0) - expect(root.children[0].outerHTML).toBe('
') + expect(root.children[0].outerHTML.includes('data-v-owner')).toBe(true) }) test('with string style', async () => {