test(web): expect localized category name (Кофе) after localization

This commit is contained in:
Munkherdene 2026-08-22 22:19:41 +08:00
parent 11c30b6690
commit 0010b7b5fa

View file

@ -80,7 +80,7 @@ describe("buildHome", () => {
}, },
})!; })!;
expect(h.budgets).toHaveLength(3); expect(h.budgets).toHaveLength(3);
expect(h.budgets.map((b) => b.name)).toEqual(["Хоол", "Coffee", "Тээвэр"]); expect(h.budgets.map((b) => b.name)).toEqual(["Хоол", "Кофе", "Тээвэр"]);
expect(h.budgets.every((b) => b.range.includes("₮"))).toBe(true); expect(h.budgets.every((b) => b.range.includes("₮"))).toBe(true);
}); });