Skip to content

Commit

Permalink
updated tests to reflect new reality that 66 is never automatically c…
Browse files Browse the repository at this point in the history
…reated
  • Loading branch information
aaronmgdr committed Aug 13, 2024
1 parent 76a97a6 commit d0f471d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/CeloWallet.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ describe("CeloWallet", () => {
});
});
describe("when feeCurrency on cel2", () => {
test("populates maxFeePerGas and maxPriorityFeePerGas and maxFeeInFeeCurrency", async () => {
test("populates maxFeePerGas and maxPriorityFeePerGas (not maxFeeInFeeCurrency)", async () => {
const wallet = getSigner();

jest.spyOn(wallet, "isCel2").mockImplementation(async () => true);
Expand All @@ -36,7 +36,7 @@ describe("CeloWallet", () => {
expect(typeof filled.maxFeePerGas).toEqual("bigint");
expect(typeof filled.maxPriorityFeePerGas).toEqual("bigint");

expect(typeof filled.maxFeeInFeeCurrency).toEqual("bigint");
expect(filled.maxFeeInFeeCurrency).toBeUndefined();
expect(filled.feeCurrency).toEqual(USDC_ADAPTER_ALFAJORES_ADDRESS);
});
});
Expand Down

0 comments on commit d0f471d

Please sign in to comment.