File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
modules/bitgo/test/v2/unit Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1863,7 +1863,8 @@ describe('V2 Wallet:', function () {
18631863 sinon . stub ( basecoin , 'getLatestBlockHeight' ) . resolves ( blockHeight ) ;
18641864 sinon . stub ( basecoin , 'postProcessPrebuild' ) . callsFake ( ( params ) => Promise . resolve ( params ) ) ;
18651865 const txPrebuild = await wallet . prebuildTransaction ( { ...params , reqId : reqId } ) ;
1866- txPrebuild . buildParams . should . deepEqual ( serverBuildParams ) ;
1866+ should . exist ( txPrebuild . buildParams ) ;
1867+ txPrebuild . buildParams ! . should . deepEqual ( serverBuildParams ) ;
18671868 } ) ;
18681869
18691870 it ( 'should fall back to request params when server does not return buildParams' , async function ( ) {
@@ -1876,7 +1877,8 @@ describe('V2 Wallet:', function () {
18761877 sinon . stub ( basecoin , 'getLatestBlockHeight' ) . resolves ( blockHeight ) ;
18771878 sinon . stub ( basecoin , 'postProcessPrebuild' ) . callsFake ( ( params ) => Promise . resolve ( params ) ) ;
18781879 const txPrebuild = await wallet . prebuildTransaction ( { ...params , reqId : reqId } ) ;
1879- txPrebuild . buildParams . should . deepEqual ( tbtcHotWalletDefaultParams ) ;
1880+ should . exist ( txPrebuild . buildParams ) ;
1881+ txPrebuild . buildParams ! . should . deepEqual ( tbtcHotWalletDefaultParams ) ;
18801882 } ) ;
18811883 } ) ;
18821884
You can’t perform that action at this time.
0 commit comments