File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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} ) ;
You can’t perform that action at this time.
0 commit comments