@@ -14,9 +14,9 @@ describe("Addressable matcher", () => {
14
14
const otherSigner = ethers . Wallet . createRandom ( ) ;
15
15
const otherAddress = otherSigner . address ;
16
16
const otherContract = new ethers . Contract ( otherAddress , [ ] ) ;
17
- const otherTypedAddress = ethers . Typed . address ( address ) ;
18
- const otherTypedSigner = ethers . Typed . address ( signer ) ;
19
- const otherTypedContract = ethers . Typed . address ( contract ) ;
17
+ const otherTypedAddress = ethers . Typed . address ( otherAddress ) ;
18
+ const otherTypedSigner = ethers . Typed . address ( otherSigner ) ;
19
+ const otherTypedContract = ethers . Typed . address ( otherContract ) ;
20
20
21
21
const elements = [
22
22
{ name : "address" , object : address , class : address } ,
@@ -27,10 +27,22 @@ describe("Addressable matcher", () => {
27
27
{ name : "typed contract" , object : typedContract , class : address } ,
28
28
{ name : "other address" , object : otherAddress , class : otherAddress } ,
29
29
{ name : "other signer" , object : otherSigner , class : otherAddress } ,
30
- { name : "other contract" , object : otherContract , class : otherAddress } ,
31
- { name : "other typed address" , object : otherTypedAddress , class : otherAddress } ,
32
- { name : "other typed signer" , object : otherTypedSigner , class : otherAddress } ,
33
- { name : "other typed contract" , object : otherTypedContract , class : otherAddress } ,
30
+ { name : " other contract" , object : otherContract , class : otherAddress } ,
31
+ {
32
+ name : "other typed address" ,
33
+ object : otherTypedAddress ,
34
+ class : otherAddress ,
35
+ } ,
36
+ {
37
+ name : "other typed signer" ,
38
+ object : otherTypedSigner ,
39
+ class : otherAddress ,
40
+ } ,
41
+ {
42
+ name : "other typed contract" ,
43
+ object : otherTypedContract ,
44
+ class : otherAddress ,
45
+ } ,
34
46
] ;
35
47
36
48
for ( const el1 of elements )
0 commit comments