mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
style(desktop): wrap long lines in virtualization spec for biome
biome check enforces line-wrapping that biome lint does not. The load-older test 07 had two over-width statements that passed local lint but failed the Desktop Core biome check gate. Format-only, no behavior change. Co-authored-by: Will Pfleger <pfleger.will@gmail.com> Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
This commit is contained in:
co-authored by
Will Pfleger
parent
fc54d84efb
commit
9c0eac5f41
@@ -312,7 +312,9 @@ test.describe("list virtualization screenshots", () => {
|
||||
// (b) the first-visible row sits where it did before the prepend.
|
||||
const after = await sampleAnchor(timeline);
|
||||
expect(after.scrollHeight).toBeGreaterThan(before.scrollHeight + 800);
|
||||
expect(Math.abs(after.viewportPos - before.viewportPos)).toBeLessThan(120);
|
||||
expect(Math.abs(after.viewportPos - before.viewportPos)).toBeLessThan(
|
||||
120,
|
||||
);
|
||||
|
||||
// Reconcile terminates: two equal scrollTop reads 600ms apart prove the
|
||||
// rAF loop stopped. Under the double-writer bug the library re-scheduled
|
||||
@@ -324,7 +326,9 @@ test.describe("list virtualization screenshots", () => {
|
||||
expect(Math.abs(settled1 - settled2)).toBeLessThan(2);
|
||||
|
||||
if (run === 0) {
|
||||
await page.screenshot({ path: `${SHOTS}/07-load-older-anchor-hold.png` });
|
||||
await page.screenshot({
|
||||
path: `${SHOTS}/07-load-older-anchor-hold.png`,
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user