style(tests): format c4-measure annotation (residual 9c)

This commit is contained in:
bchanot committed 2026-11-13 17:57:47 +01:00
1 parent 553a0e57b2
commit 69e225ca7a
1 file changed
+4 -6
@@ -294,12 +294,10 @@ async function expectPanelReachable(page: Page) {
Math.min(el.getBoundingClientRect().bottom, window.innerHeight) - Math.min(el.getBoundingClientRect().bottom, window.innerHeight) -
Math.max(el.getBoundingClientRect().top, 0), Math.max(el.getBoundingClientRect().top, 0),
) )
test test.info().annotations.push({
.info() type: 'c4-measure',
.annotations.push({ description: `panel visible ${visible}`,
type: 'c4-measure', })
description: `panel visible ${visible}`,
})
expect(visible).toBeGreaterThan(0) expect(visible).toBeGreaterThan(0)
expect(await probeInView(heading), 'heading').toEqual({ expect(await probeInView(heading), 'heading').toEqual({
inside: true, inside: true,