Wear 10× slower — maintenance lasts longer (ISS-085, v0.43.0)
CI / build + unit + e2e (pull_request) Successful in 8m4s

This commit is contained in:
2026-09-21 15:59:20 +00:00
parent 78032a2051
commit dd7159c109
4 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -407,7 +407,7 @@ describe('wear on landed legs + broken burn (v0.39.0, ISS-069)', () => {
expect(await deliverPackages(inst, T0 + travelMs(km, PLANE_TYPES.atr72.speedKmh))).toBe(1);
const plane = (await inst.db.select().from(schema.planes))[0];
expect(plane.health).toBeCloseTo(100 - WEAR_PER_KM * km, 9); // one mid-range hop ≈ −9.8 health
expect(plane.health).toBeCloseTo(100 - WEAR_PER_KM * km, 9); // one mid-range hop ≈ −0.98 health (v0.43.0, ISS-085)
});
it('clamps at 0 across multiple legs', async () => {