()
| 2473 | |
| 2474 | const onError = (cause: Error) => failConnect(cause, "PgConnection: Failed to connect", "refused") |
| 2475 | const onClose = () => |
| 2476 | failConnect( |
| 2477 | new Error("Connection closed unexpectedly"), |
| 2478 | "PgConnection: Connection closed during startup", |
| 2479 | "refused" |
| 2480 | ) |
| 2481 | |
| 2482 | const password = (): string | undefined => { |
| 2483 | if (resolvedPassword === undefined) { |
nothing calls this directly
no test coverage detected