@@ -8,8 +8,10 @@ describe('depositToProperty.spec.ts', () => {
88
99 const lockupContract = {
1010 // eslint-disable-next-line @typescript-eslint/no-unused-vars
11- depositToProperty : ( propertyAddress : string , amount : number ) =>
12- Promise . resolve ( stubTx ) ,
11+ 'depositToProperty(address,uint256)' : (
12+ propertyAddress : string ,
13+ amount : number ,
14+ ) => Promise . resolve ( stubTx ) ,
1315 }
1416
1517 // eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -26,7 +28,7 @@ describe('depositToProperty.spec.ts', () => {
2628 it ( 'call success with optional payload' , async ( ) => {
2729 const expected = stubTransactionResposeFactory ( { } )
2830 const lockupContract = {
29- depositToProperty : jest
31+ ' depositToProperty(address,uint256,bytes32)' : jest
3032 . fn ( )
3133 . mockImplementation ( ( ) => Promise . resolve ( expected ) ) ,
3234 }
@@ -46,7 +48,7 @@ describe('depositToProperty.spec.ts', () => {
4648 it ( 'call failure' , async ( ) => {
4749 const error = 'error'
4850 const lockupContract = {
49- depositToProperty : jest
51+ ' depositToProperty(address,uint256)' : jest
5052 . fn ( )
5153 . mockImplementation ( async ( ) => Promise . reject ( error ) ) ,
5254 }
0 commit comments