From 42a12b0d9ef0b444005e8deb0a69ed59006348ef Mon Sep 17 00:00:00 2001 From: Roman Petriv Date: Mon, 23 Oct 2023 04:37:58 +0300 Subject: [PATCH] fix: tests --- packages/app/tests/components/FeeData.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/app/tests/components/FeeData.spec.ts b/packages/app/tests/components/FeeData.spec.ts index 5f0a7c1d19..6e0e767c6e 100644 --- a/packages/app/tests/components/FeeData.spec.ts +++ b/packages/app/tests/components/FeeData.spec.ts @@ -204,7 +204,7 @@ describe("FeeToken", () => { feeData: feeDataPaymaster as FeeData, }, }); - expect(container.querySelector(".payed-by-paymaster-label")?.textContent).toBe("Paid by paymaster"); + expect(container.querySelector(".payed-by-paymaster-label")?.textContent).toBe("Paid by Paymaster"); }); it("displays the refunds when expanded", async () => { @@ -243,7 +243,7 @@ describe("FeeToken", () => { "https://era.zksync.io/docs/dev/developer-guides/transactions/fee-model.html#refunds" ); expect(refundedLink?.getAttribute("target")).toBe("_blank"); - expect(refundedLink?.textContent).toBe("Why paymaster is being refunded?"); + expect(refundedLink?.textContent).toBe("Why Paymaster is being refunded?"); const paymasterLink = container.querySelector(".paymaster-link"); expect(paymasterLink?.getAttribute("href")).toBe(