From: daiwei Date: Wed, 30 Jul 2025 13:56:09 +0000 (+0800) Subject: fix: tests X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e903dec68205240e61e46f7204300848d9eef58b;p=thirdparty%2Fvuejs%2Fcore.git fix: tests --- diff --git a/packages/runtime-vapor/__tests__/hydration.spec.ts b/packages/runtime-vapor/__tests__/hydration.spec.ts index 16b0889343..42f3add505 100644 --- a/packages/runtime-vapor/__tests__/hydration.spec.ts +++ b/packages/runtime-vapor/__tests__/hydration.spec.ts @@ -1171,15 +1171,11 @@ describe('Vapor Mode hydration', () => { data.value = 'b' await nextTick() - expect(container.innerHTML).toBe( - `
bar
`, - ) + expect(container.innerHTML).toBe(`
bar
`) data.value = 'c' await nextTick() - expect(container.innerHTML).toBe( - `
baz
`, - ) + expect(container.innerHTML).toBe(`
baz
`) data.value = 'a' await nextTick() @@ -1311,13 +1307,13 @@ describe('Vapor Mode hydration', () => { data.value = 'b' await nextTick() expect(container.innerHTML).toBe( - `b child2`, + `b child2`, ) data.value = 'c' await nextTick() expect(container.innerHTML).toBe( - `c child3`, + `c child3`, ) data.value = 'a'