@@ -11,7 +11,7 @@ describe("resolvePieLabel", () => {
1111 } ) ;
1212
1313 it ( "returns named label when getLabel resolves a real name" , ( ) => {
14- const getLabel = ( _address : string ) => "Team Wallet" ;
14+ const getLabel = ( ) => "Team Wallet" ;
1515 expect ( resolvePieLabel ( ADDR , getLabel ) ) . toBe ( "Team Wallet" ) ;
1616 } ) ;
1717
@@ -21,7 +21,7 @@ describe("resolvePieLabel", () => {
2121 } ) ;
2222
2323 it ( "does not include raw address when a named label exists" , ( ) => {
24- const getLabel = ( _address : string ) => "Team Wallet" ;
24+ const getLabel = ( ) => "Team Wallet" ;
2525 const result = resolvePieLabel ( ADDR , getLabel ) ;
2626 expect ( result ) . not . toContain ( "0x1015" ) ;
2727 expect ( result ) . toBe ( "Team Wallet" ) ;
@@ -35,7 +35,7 @@ describe("resolvePieLabel", () => {
3535 } ) ;
3636
3737 it ( "allows multiple addresses to resolve to the same human label" , ( ) => {
38- const getLabel = ( _address : string ) => "Shared Label" ;
38+ const getLabel = ( ) => "Shared Label" ;
3939 expect ( resolvePieLabel ( ADDR , getLabel ) ) . toBe ( "Shared Label" ) ;
4040 expect ( resolvePieLabel ( ADDR2 , getLabel ) ) . toBe ( "Shared Label" ) ;
4141 } ) ;
0 commit comments