@@ -8,12 +8,12 @@ const tendermintUrl = defaultInstance.url;
88const echoUrl = "http://localhost:5555/echo_headers" ;
99
1010describe ( "http" , ( ) => {
11- ( tendermintEnabled ? it : it . skip ) ( "can send a health request" , async ( ) => {
11+ ( tendermintEnabled ? it : xit ) ( "can send a health request" , async ( ) => {
1212 const response = await http ( "POST" , `http://${ tendermintUrl } ` , undefined , createJsonRpcRequest ( "health" ) ) ;
1313 expect ( response ) . toEqual ( jasmine . objectContaining ( { jsonrpc : "2.0" } ) ) ;
1414 } ) ;
1515
16- ( httpServerEnabled ? it : it . skip ) ( "can POST to echo server" , async ( ) => {
16+ ( httpServerEnabled ? it : xit ) ( "can POST to echo server" , async ( ) => {
1717 const response = await http ( "POST" , echoUrl , undefined , createJsonRpcRequest ( "health" ) ) ;
1818 expect ( response ) . toEqual ( {
1919 request_headers : jasmine . objectContaining ( {
@@ -24,12 +24,12 @@ describe("http", () => {
2424 } ) ;
2525
2626 it ( "errors for non-open port" , async ( ) => {
27- await expect (
27+ await expectAsync (
2828 http ( "POST" , `http://localhost:56745` , undefined , createJsonRpcRequest ( "health" ) ) ,
29- ) . rejects . toThrowError ( / ( E C O N N R E F U S E D | F a i l e d t o f e t c h | f e t c h f a i l e d | ( r e q u e s t t o .* f a i l e d ) ) / i) ;
29+ ) . toBeRejectedWithError ( / ( E C O N N R E F U S E D | F a i l e d t o f e t c h | f e t c h f a i l e d | ( r e q u e s t t o .* f a i l e d ) ) / i) ;
3030 } ) ;
3131
32- ( httpServerEnabled ? it : it . skip ) ( "can POST to echo server with custom headers" , async ( ) => {
32+ ( httpServerEnabled ? it : xit ) ( "can POST to echo server with custom headers" , async ( ) => {
3333 // With custom headers
3434 const response = await http (
3535 "POST" ,
0 commit comments