77/* eslint-disable @typescript-eslint/no-empty-function */
88
99import { strict as assert } from 'assert' ;
10- import * as should from 'should' ;
10+ import should = require ( 'should' ) ;
1111import { VirtualSizes } from '@bitgo/unspents' ;
1212import * as utxolib from '@bitgo/utxo-lib' ;
1313
@@ -1044,7 +1044,7 @@ describe('Wallet API', function () {
10441044 progressDetails . should . have . property ( 'index' ) ;
10451045 progressDetails . should . have . property ( 'inputCount' ) ;
10461046 progressDetails . index . should . equal ( progressCallbackCount ) ;
1047- assert ( progressDetails . inputCount <= maxInputCountPerConsolidation ) ;
1047+ assert . ok ( progressDetails . inputCount <= maxInputCountPerConsolidation ) ;
10481048 progressCallbackCount ++ ;
10491049 } ;
10501050
@@ -2445,7 +2445,7 @@ describe('Wallet API', function () {
24452445 walletPassphrase : TestBitGo . TEST_WALLET1_PASSCODE ,
24462446 } )
24472447 . then ( function ( res ) {
2448- assert ( false ) ; // should not reach
2448+ assert . ok ( false ) ; // should not reach
24492449 } )
24502450 . catch ( function ( err ) {
24512451 err . message . should . eql ( 'Insufficient funds' ) ;
@@ -2466,7 +2466,7 @@ describe('Wallet API', function () {
24662466 instant : true ,
24672467 } )
24682468 . then ( function ( res ) {
2469- assert ( false ) ; // should not reach
2469+ assert . ok ( false ) ; // should not reach
24702470 } )
24712471 . catch ( function ( err ) {
24722472 err . message . should . eql ( 'wallet does not support instant transactions' ) ;
@@ -2486,7 +2486,7 @@ describe('Wallet API', function () {
24862486 } ) ;
24872487 } )
24882488 . then ( function ( result ) {
2489- assert ( false ) ; // should not reach
2489+ assert . ok ( false ) ; // should not reach
24902490 } )
24912491 . catch ( function ( err ) {
24922492 err . needsOTP . should . equal ( true ) ;
@@ -3037,7 +3037,7 @@ describe('Wallet API', function () {
30373037 . createTransaction ( { recipients : recipients } )
30383038 . then ( function ( result ) {
30393039 // should not reach
3040- assert ( false ) ;
3040+ assert . ok ( false ) ;
30413041 } )
30423042 . catch ( function ( err ) {
30433043 err . message . should . containEql ( 'incorrect type for field fromUserName in travel info' ) ;
0 commit comments