()
| 514 | } |
| 515 | |
| 516 | export function fakeServer() { |
| 517 | return { |
| 518 | s: { state: 'connected' }, |
| 519 | removeListener: () => true, |
| 520 | pool: { |
| 521 | checkOut: async () => ({}), |
| 522 | checkIn: () => undefined |
| 523 | } |
| 524 | }; |
| 525 | } |
| 526 | |
| 527 | /** |
| 528 | * A utility to measure the duration of an async function. This is intended to be used for CSOT |
no outgoing calls
no test coverage detected