Skip to content

Commit

Permalink
fix: copy/paste errors
Browse files Browse the repository at this point in the history
Signed-off-by: David Dal Busco <[email protected]>
  • Loading branch information
peterpeterparker committed Nov 18, 2024
1 parent 4e0131a commit a7bdeeb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/cketh/src/minter.canister.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ describe("ckETH minter canister", () => {
expect(service.withdraw_eth).toBeCalledTimes(1);

const { address, ...rest } = params;
expect(service.withdraw_eth).toBeCalledWith(1, {
expect(service.withdraw_eth).toBeCalledWith({
recipient: address,
from_subaccount: toNullable(fromSubaccount),
...rest,
Expand All @@ -143,7 +143,7 @@ describe("ckETH minter canister", () => {
fromSubaccount,
});

expect(service.withdraw_erc20).toBeCalledTimes(1);
expect(service.withdraw_eth).toBeCalledTimes(1);

const { address, ...rest } = params;
expect(service.withdraw_eth).toHaveBeenCalledWith({
Expand Down Expand Up @@ -305,7 +305,7 @@ describe("ckETH minter canister", () => {
fromCkEthSubaccount: account,
});

expect(service.withdraw_eth).toBeCalledTimes(1);
expect(service.withdraw_erc20).toBeCalledTimes(1);

const { address, ledgerCanisterId, ...rest } = params;
expect(service.withdraw_erc20).toHaveBeenCalledWith({
Expand Down

0 comments on commit a7bdeeb

Please sign in to comment.