feat(planning): ship holiday-aware planning and assistant upgrades

This commit is contained in:
2026-03-28 22:49:28 +01:00
parent 2a005794e7
commit 4f48afe7b4
151 changed files with 17738 additions and 1940 deletions
@@ -85,12 +85,12 @@ describe("calculateShoringRatio", () => {
make("r3", "ES", 4, 10),
make("r4", "IN", 8, 10),
]);
expect(r.byCountry["DE"].resourceCount).toBe(1);
expect(r.byCountry["ES"].resourceCount).toBe(2);
expect(r.byCountry["IN"].resourceCount).toBe(1);
expect(r.byCountry["DE"].hours).toBe(80);
expect(r.byCountry["ES"].hours).toBe(120);
expect(r.byCountry["IN"].hours).toBe(80);
expect(r.byCountry["DE"]!.resourceCount).toBe(1);
expect(r.byCountry["ES"]!.resourceCount).toBe(2);
expect(r.byCountry["IN"]!.resourceCount).toBe(1);
expect(r.byCountry["DE"]!.hours).toBe(80);
expect(r.byCountry["ES"]!.hours).toBe(120);
expect(r.byCountry["IN"]!.hours).toBe(80);
});
it("exactly at threshold is above", () => {