(connectionString: string | any[])
| 243 | } |
| 244 | |
| 245 | export function extractAuthFromConnectionString(connectionString: string | any[]) { |
| 246 | const indices = getIndicesOfAuthInUrl(connectionString); |
| 247 | if (!indices) { |
| 248 | return null; |
| 249 | } |
| 250 | |
| 251 | return connectionString.slice(indices.start, indices.end); |
| 252 | } |
| 253 | |
| 254 | export interface FailPoint { |
| 255 | configureFailPoint: 'failCommand' | 'failGetMoreAfterCursorCheckout' | 'maxTimeNeverTimeOut'; |
no test coverage detected