@@ -8,8 +8,10 @@ describe('depositToProperty.spec.ts', () => {
8
8
9
9
const lockupContract = {
10
10
// 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 ) ,
13
15
}
14
16
15
17
// eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -26,7 +28,7 @@ describe('depositToProperty.spec.ts', () => {
26
28
it ( 'call success with optional payload' , async ( ) => {
27
29
const expected = stubTransactionResposeFactory ( { } )
28
30
const lockupContract = {
29
- depositToProperty : jest
31
+ ' depositToProperty(address,uint256,bytes32)' : jest
30
32
. fn ( )
31
33
. mockImplementation ( ( ) => Promise . resolve ( expected ) ) ,
32
34
}
@@ -46,7 +48,7 @@ describe('depositToProperty.spec.ts', () => {
46
48
it ( 'call failure' , async ( ) => {
47
49
const error = 'error'
48
50
const lockupContract = {
49
- depositToProperty : jest
51
+ ' depositToProperty(address,uint256)' : jest
50
52
. fn ( )
51
53
. mockImplementation ( async ( ) => Promise . reject ( error ) ) ,
52
54
}
0 commit comments