Skip to content

Commit 5761fe6

Browse files
committed
fix(test): remove client parameter while it removed from the function signature
1 parent 209c2a9 commit 5761fe6

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

packages/core/src/ckb/transaction.test.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1268,9 +1268,7 @@ describe("Transaction", () => {
12681268
mockFeePayer2.completeTxFee as ReturnType<typeof vi.fn>
12691269
).mock.calls[0];
12701270
expect(completeTxFee1Call[0]).toBeInstanceOf(ccc.Transaction);
1271-
expect(completeTxFee1Call[1]).toBe(client);
12721271
expect(completeTxFee2Call[0]).toBeInstanceOf(ccc.Transaction);
1273-
expect(completeTxFee2Call[1]).toBe(client);
12741272

12751273
// Verify prepareTransaction was called before completeTxFee
12761274
// by checking the order of calls
@@ -1437,10 +1435,7 @@ describe("Transaction", () => {
14371435
expect(prepareCallArg).toBeInstanceOf(ccc.Transaction);
14381436
expect(prepareCallArg.outputs.length).toBe(1);
14391437
// completeTxFee should be called with the modified transaction returned by prepareTransaction
1440-
expect(mockFeePayer1.completeTxFee).toHaveBeenCalledWith(
1441-
modifiedTx,
1442-
client,
1443-
);
1438+
expect(mockFeePayer1.completeTxFee).toHaveBeenCalledWith(modifiedTx);
14441439
});
14451440
});
14461441
});

0 commit comments

Comments
 (0)