Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Romsters committed Oct 23, 2023
1 parent 63b44ec commit 42a12b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/app/tests/components/FeeData.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 42a12b0

Please sign in to comment.