File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed 
packages/faucet-client/src Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -21,11 +21,14 @@ describe("FaucetClient", () => {
2121    expect ( new  FaucetClient ( "https://localhost/" ) ) . toBeTruthy ( ) ; 
2222  } ) ; 
2323
24-   ( enabled  ? it  : it . skip ) ( "should throw error if the base URL does not start with http:// or https://" ,  ( )  =>  { 
25-     expect ( ( )  =>  new  FaucetClient ( "ftp://example.com" ) ) . toThrowError ( 
26-       "Expected base url to start with http:// or https://" , 
27-     ) ; 
28-   } ) ; 
24+   ( enabled  ? it  : it . skip ) ( 
25+     "should throw error if the base URL does not start with http:// or https://" , 
26+     ( )  =>  { 
27+       expect ( ( )  =>  new  FaucetClient ( "ftp://example.com" ) ) . toThrowError ( 
28+         "Expected base url to start with http:// or https://" , 
29+       ) ; 
30+     } , 
31+   ) ; 
2932
3033  ( enabled  ? it  : it . skip ) ( "can be used to credit a wallet" ,  async  ( )  =>  { 
3134    const  faucet  =  new  FaucetClient ( faucetUrl ) ; 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments