From 80acc23f671a4c8ca34841195dbba5d44a2c72f8 Mon Sep 17 00:00:00 2001 From: InfinityPacer Date: Sun, 6 Sep 2026 05:02:55 +0800 Subject: [PATCH] test(glass): cover actual collapsed sidebar sampling bounds --- src/utils/__tests__/glassNavbarRefraction.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/__tests__/glassNavbarRefraction.spec.ts b/src/utils/__tests__/glassNavbarRefraction.spec.ts index 61e56b11..ca5ff034 100644 --- a/src/utils/__tests__/glassNavbarRefraction.spec.ts +++ b/src/utils/__tests__/glassNavbarRefraction.spec.ts @@ -76,6 +76,7 @@ describe('createGlassNavbarDisplacementField', () => { { width: 127, height: 64, radius: 8 }, { width: 127, height: 64, radius: 32 }, { width: 260, height: 800, radius: 0 }, + { width: 68, height: 862, radius: 0 }, ])('keeps two-dimensional sampling forward and inside the image for $width x $height r$radius', geometry => { for (const deformation of [0, 48, 100]) for (const translation of [0, 48, 100])