From 58c896ea4ebaff5425a068f461b6c6fedadb8b40 Mon Sep 17 00:00:00 2001 From: "hermes-seaeye[bot]" <307254004+hermes-seaeye[bot]@users.noreply.github.com> Date: Thu, 24 Sep 2026 05:53:55 +0000 Subject: [PATCH] fmt(js): `npm run fix` on merge (#121111) Co-authored-by: github-actions[bot] --- apps/desktop/src/components/chat/image-geometry.test.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/apps/desktop/src/components/chat/image-geometry.test.tsx b/apps/desktop/src/components/chat/image-geometry.test.tsx index 9ccc41b489..9792228124 100644 --- a/apps/desktop/src/components/chat/image-geometry.test.tsx +++ b/apps/desktop/src/components/chat/image-geometry.test.tsx @@ -123,7 +123,9 @@ it('keeps the pending generated-image frame when its result arrives', async () = mounted.rerender() expect(parseFloat(frame(mounted.container).style.aspectRatio)).toBeCloseTo(16 / 9) const pendingStyle = frame(mounted.container).style.cssText - mounted.rerender() + mounted.rerender( + + ) // Must hold before the file read settles, not just after img.onload. expect(frame(mounted.container).style.cssText).toBe(pendingStyle) @@ -141,7 +143,9 @@ it('keys inline data sources by a bounded digest so they are remembered', async first.unmount() expect(parseFloat(frame(render().container).style.aspectRatio)).toBe(1.5) - expect(parseFloat(frame(render().container).style.aspectRatio)).not.toBe(1.5) + expect(parseFloat(frame(render().container).style.aspectRatio)).not.toBe( + 1.5 + ) }) it.each(['markdown', 'generated'])('%s dimensions follow owner and source, not stale reads or hints', async kind => {