(options: Record<string, any>, callback: (response: Readable) => void)
| 98 | } |
| 99 | }, |
| 100 | get(options: Record<string, any>, callback: (response: Readable) => void) { |
| 101 | httpsGetCalls.push(options) |
| 102 | options.agent.createConnection(options) |
| 103 | queueMicrotask(() => { |
| 104 | callback(createResponse(200, {}, '{"version":"0.0.33"}')) |
| 105 | }) |
| 106 | return { |
| 107 | on() { |
| 108 | return this |
| 109 | }, |
| 110 | setTimeout() { |
| 111 | return this |
| 112 | }, |
| 113 | destroy() {}, |
| 114 | } |
| 115 | }, |
| 116 | }, |
| 117 | tlsModule: { |
| 118 | connect(options: Record<string, unknown>) { |
nothing calls this directly
no test coverage detected