File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 4343 ]
4444 },
4545 "devDependencies" : {
46- "chai" : " ^4.4.1" ,
47- "@types/chai" : " ^4.3.16" ,
4846 "@types/bn.js" : " ^5.2.0" ,
4947 "@bitgo/sdk-test" : " ^9.0.5" ,
5048 "@bitgo/sdk-api" : " ^1.67.0"
Original file line number Diff line number Diff line change 1- import { expect } from 'chai' ;
21import { BitGoBase } from '@bitgo/sdk-core' ;
32import { TestBitGo , TestBitGoAPI } from '@bitgo/sdk-test' ;
43import { BitGoAPI } from '@bitgo/sdk-api' ;
@@ -21,15 +20,15 @@ describe('Flrp', function () {
2120 it ( 'createInstance returns a Flrp instance' , function ( ) {
2221 const staticsCoin = coins . get ( 'flrp' ) ;
2322 const coin = Flrp . createInstance ( bitgo as unknown as BitGoBase , staticsCoin ) ;
24- expect ( coin ) . to . be . instanceOf ( Flrp ) ;
23+ coin . should . be . instanceOf ( Flrp ) ;
2524 } ) ;
2625
2726 it ( 'multiple createInstance calls produce distinct objects' , function ( ) {
2827 const sc = coins . get ( 'flrp' ) ;
2928 const a = Flrp . createInstance ( bitgo as unknown as BitGoBase , sc ) ;
3029 const b = Flrp . createInstance ( bitgo as unknown as BitGoBase , sc ) ;
31- expect ( a ) . to . not . equal ( b ) ;
32- expect ( a ) . to . be . instanceOf ( Flrp ) ;
33- expect ( b ) . to . be . instanceOf ( Flrp ) ;
30+ a . should . not . equal ( b ) ;
31+ a . should . be . instanceOf ( Flrp ) ;
32+ b . should . be . instanceOf ( Flrp ) ;
3433 } ) ;
3534} ) ;
You can’t perform that action at this time.
0 commit comments