feat(tip): rename premium coffee tiers
This commit is contained in:
@@ -20,13 +20,13 @@ const items: readonly TipCoffeeTierItem[] = [
|
||||
},
|
||||
{
|
||||
type: "medium",
|
||||
displayName: "Golden Reserve",
|
||||
displayName: "Gilded Heart",
|
||||
priceLabel: "US$ 9.99",
|
||||
unavailable: false,
|
||||
},
|
||||
{
|
||||
type: "large",
|
||||
displayName: "Imperial Grand Cru",
|
||||
displayName: "Crown Blossom",
|
||||
priceLabel: "US$ 19.99",
|
||||
unavailable: false,
|
||||
},
|
||||
@@ -67,8 +67,8 @@ describe("TipCoffeeTierSelector", () => {
|
||||
act(() => root.render(<Harness />));
|
||||
|
||||
expect(container.textContent).toContain("Velvet Espresso");
|
||||
expect(container.textContent).toContain("Golden Reserve");
|
||||
expect(container.textContent).toContain("Imperial Grand Cru");
|
||||
expect(container.textContent).toContain("Gilded Heart");
|
||||
expect(container.textContent).toContain("Crown Blossom");
|
||||
expect(
|
||||
container.querySelector<HTMLInputElement>('input[value="medium"]')
|
||||
?.checked,
|
||||
|
||||
Reference in New Issue
Block a user