Method
retryConnection
(
createConnection: (endpoint: string, config: IEndpointConfig) => Promise<IApiConnectionSpecific>,
network: ProjectNetworkConfig & {chainId: string},
index: number,
endpoint: string,
config: IEndpointConfig,
postConnectedHook?: (connection: IApiConnectionSpecific, endpoint: string, index: number) => void
)
Source from the content-addressed store, hash-verified
| 10 | |
| 11 | class TestApiService extends ApiService { |
| 12 | retryConnection( |
| 13 | createConnection: (endpoint: string, config: IEndpointConfig) => Promise<IApiConnectionSpecific>, |
| 14 | network: ProjectNetworkConfig & {chainId: string}, |
| 15 | index: number, |
| 16 | endpoint: string, |
| 17 | config: IEndpointConfig, |
| 18 | postConnectedHook?: (connection: IApiConnectionSpecific, endpoint: string, index: number) => void |
| 19 | ): void { |
| 20 | /* No Op to avoid creating intervals/timeouts in tests*/ |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | describe('ApiService', () => { |
Tested by
no test coverage detected