@@ -132,7 +132,7 @@ describe('Ecdsa Signing Handler', () => {
132132 . post ( `/api/v2/wallet/${ walletId } /txrequests/test-tx-request-id/transactions/0/sign` )
133133 . matchHeader ( 'any' , ( ) => true )
134134 . reply ( 200 , {
135- txRequest : round1TxRequest ,
135+ ... round1TxRequest ,
136136 } ) ;
137137
138138 const round2SignatureShare : SignatureShareRecord = {
@@ -171,7 +171,7 @@ describe('Ecdsa Signing Handler', () => {
171171 . post ( `/api/v2/wallet/${ walletId } /txrequests/test-tx-request-id/transactions/0/sign` )
172172 . matchHeader ( 'any' , ( ) => true )
173173 . reply ( 200 , {
174- txRequest : round2TxRequest ,
174+ ... round2TxRequest ,
175175 } ) ;
176176
177177 const round3SignatureShare : SignatureShareRecord = {
@@ -194,15 +194,13 @@ describe('Ecdsa Signing Handler', () => {
194194 . post ( `/api/v2/wallet/${ walletId } /txrequests/test-tx-request-id/transactions/0/sign` )
195195 . matchHeader ( 'any' , ( ) => true )
196196 . reply ( 200 , {
197- txRequest : {
198- ...round2TxRequest ,
199- transactions : [
200- {
201- ...round2TxRequest . transactions ! [ 0 ] ,
202- signatureShares : [ round1SignatureShare , round2SignatureShare , round3SignatureShare ] ,
203- } ,
204- ] ,
205- } ,
197+ ...round2TxRequest ,
198+ transactions : [
199+ {
200+ ...round2TxRequest . transactions ! [ 0 ] ,
201+ signatureShares : [ round1SignatureShare , round2SignatureShare , round3SignatureShare ] ,
202+ } ,
203+ ] ,
206204 } ) ;
207205
208206 // Mock sendTxRequest call
0 commit comments