( state: RemoteConnectionState, options: Parameters<typeof isCompatibleConnection>[1], )
| 495 | } |
| 496 | |
| 497 | function requiredConnectionFieldsMatch( |
| 498 | state: RemoteConnectionState, |
| 499 | options: Parameters<typeof isCompatibleConnection>[1], |
| 500 | ): boolean { |
| 501 | return [ |
| 502 | [state.remoteConfigPath, options.remoteConfigPath], |
| 503 | [state.remoteConfigHash, options.remoteConfigHash], |
| 504 | [state.session, options.session], |
| 505 | [state.tenant, options.flags.tenant], |
| 506 | [state.runId, options.flags.runId], |
| 507 | ].every(([left, right]) => left === right); |
| 508 | } |
| 509 | |
| 510 | function optionalConnectionFieldsMatch( |
| 511 | state: RemoteConnectionState, |
no outgoing calls
no test coverage detected