test: align glow decay test name with bound

This commit is contained in:
clement
2026-06-28 18:06:46 +02:00
parent c483977c34
commit 0069b82875
+1 -1
View File
@@ -19,7 +19,7 @@ test("level at or below GLOW_MIN snaps to 0", () => {
assert.strictEqual(nextGlow(GLOW_MIN / 2, 1000 / 60), 0);
});
test("a full level decays to 0 within ~300 ms", () => {
test("a full level decays to 0 within ~450 ms", () => {
let lvl = 1;
for (let t = 0; t < 450; t += 1000 / 60) lvl = nextGlow(lvl, 1000 / 60);
assert.strictEqual(lvl, 0);