@@ -13,6 +13,7 @@ import { createTransferFromCaller } from '../../common/erc20/transferFrom'
1313import { createBalanceOfCaller } from './../../common/erc20/balanceOf'
1414import { createApproveCaller } from './../../common/erc20/approve'
1515import { createAllowanceCaller } from './../../common/erc20/allowance'
16+ import { createGetBalancesCaller } from './getBalances'
1617
1718jest . mock ( './../../ethereum/property/author' )
1819jest . mock ( './../../ethereum/property/changeName' )
@@ -26,6 +27,7 @@ jest.mock('../../common/erc20/transferFrom')
2627jest . mock ( './../../common/erc20/balanceOf' )
2728jest . mock ( './../../common/erc20/approve' )
2829jest . mock ( './../../common/erc20/allowance' )
30+ jest . mock ( './getBalances' )
2931
3032describe ( 'property/index.ts' , ( ) => {
3133 ; ( createAuthorCaller as jest . Mock ) . mockImplementation ( ( contract ) => contract )
@@ -56,6 +58,7 @@ describe('property/index.ts', () => {
5658 ; ( createAllowanceCaller as jest . Mock ) . mockImplementation (
5759 ( contract ) => contract
5860 )
61+ ; ( createGetBalancesCaller as jest . Mock ) . mockImplementation ( ( contract ) => contract )
5962 describe ( 'createPropertyContract' , ( ) => {
6063 it ( 'check return object' , ( ) => {
6164 const host = 'localhost'
@@ -83,6 +86,7 @@ describe('property/index.ts', () => {
8386 author : createAuthorCaller ( contract ) ,
8487 changeName : createChangeNameCaller ( contract ) ,
8588 changeSymbol : createChangeSymbolCaller ( contract ) ,
89+ getBalances : createGetBalancesCaller ( contract ) ,
8690 contract : ( ) => contract ,
8791 }
8892 }
0 commit comments