()
| 23 | config?: ClientOptions, |
| 24 | ) { |
| 25 | async function clientWrapper() { |
| 26 | const client = new Client(getMainConfiguration(config)); |
| 27 | try { |
| 28 | await client.connect(); |
| 29 | await t(client); |
| 30 | } finally { |
| 31 | await client.end(); |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | async function poolWrapper() { |
| 36 | const pool = new Pool(getMainConfiguration(config), 1); |
nothing calls this directly
no test coverage detected