Skip to content

Commit 42e7502

Browse files
committed
index spec
1 parent 75eebcf commit 42e7502

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lib/l2/property/index.spec.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import { createTransferFromCaller } from '../../common/erc20/transferFrom'
1313
import { createBalanceOfCaller } from './../../common/erc20/balanceOf'
1414
import { createApproveCaller } from './../../common/erc20/approve'
1515
import { createAllowanceCaller } from './../../common/erc20/allowance'
16+
import { createGetBalancesCaller } from './getBalances'
1617

1718
jest.mock('./../../ethereum/property/author')
1819
jest.mock('./../../ethereum/property/changeName')
@@ -26,6 +27,7 @@ jest.mock('../../common/erc20/transferFrom')
2627
jest.mock('./../../common/erc20/balanceOf')
2728
jest.mock('./../../common/erc20/approve')
2829
jest.mock('./../../common/erc20/allowance')
30+
jest.mock('./getBalances')
2931

3032
describe('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

Comments
 (0)