@@ -3,7 +3,7 @@ import assert from 'assert';
33import _ from 'lodash' ;
44import { BitGoAPI } from '@bitgo/sdk-api' ;
55import { TestBitGo , TestBitGoAPI } from '@bitgo/sdk-test' ;
6- import { coins } from '@bitgo/statics' ;
6+ import { coins , GasTankAccountCoin } from '@bitgo/statics' ;
77import { Vet , Tvet , Transaction } from '../../src' ;
88import * as testData from '../resources/vet' ;
99
@@ -39,6 +39,8 @@ describe('Vechain', function () {
3939 it ( 'should return the right info' , function ( ) {
4040 const vet = bitgo . coin ( 'vet' ) ;
4141 const tvet = bitgo . coin ( 'tvet' ) ;
42+ const vetStatics = coins . get ( 'vet' ) as GasTankAccountCoin ;
43+ const tvetStatics = coins . get ( 'tvet' ) as GasTankAccountCoin ;
4244
4345 vet . getChain ( ) . should . equal ( 'vet' ) ;
4446 vet . getFamily ( ) . should . equal ( 'vet' ) ;
@@ -49,6 +51,11 @@ describe('Vechain', function () {
4951 tvet . getFamily ( ) . should . equal ( 'vet' ) ;
5052 tvet . getFullName ( ) . should . equal ( 'Testnet VeChain' ) ;
5153 tvet . getBaseFactor ( ) . should . equal ( 1e18 ) ;
54+
55+ vetStatics . gasTankLowBalanceAlertFactor . should . equal ( 80 ) ;
56+ tvetStatics . gasTankLowBalanceAlertFactor . should . equal ( 80 ) ;
57+ vetStatics . gasTankMinBalanceRecommendationFactor . should . equal ( 200 ) ;
58+ tvetStatics . gasTankMinBalanceRecommendationFactor . should . equal ( 200 ) ;
5259 } ) ;
5360
5461 it ( 'should validate address' , function ( ) {
0 commit comments