From 2807a8b35c8f9d6dbf87ebbe0f678de9cf44945d Mon Sep 17 00:00:00 2001 From: daiwei Date: Fri, 25 Jul 2025 17:54:03 +0800 Subject: [PATCH] wip: save --- packages/runtime-vapor/__tests__/dom/mathML.spec.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/runtime-vapor/__tests__/dom/mathML.spec.ts b/packages/runtime-vapor/__tests__/dom/mathML.spec.ts index 490d0c497d..f9d1122f16 100644 --- a/packages/runtime-vapor/__tests__/dom/mathML.spec.ts +++ b/packages/runtime-vapor/__tests__/dom/mathML.spec.ts @@ -34,22 +34,22 @@ describe('MathML support', () => { expect(e0.querySelector('#e5')!.namespaceURI).toMatch('svg') }) - test.todo('should patch elements with correct namespaces', async () => { + test('should patch elements with correct namespaces', async () => { const cls = ref('foo') define({ setup() { const t0 = template( - '
', + '
', true, ) + const n2 = t0() as HTMLElement const n1 = child(n2) as HTMLElement const p0 = child(n1) as HTMLElement const n0 = child(p0) as HTMLElement renderEffect(() => { - const _cls = cls + const _cls = cls.value setClass(n1, _cls) - // problem is n0 is undefined here setClass(n0, _cls) }) return n2 -- 2.47.2