feat(planning): ship holiday-aware planning and assistant upgrades
This commit is contained in:
@@ -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", () => {
|
||||
|
||||
Reference in New Issue
Block a user