(stderrSpy)
| 119 | let proxyServer2; |
| 120 | |
| 121 | function getStderrOutput(stderrSpy) { |
| 122 | return stderrSpy.mock.calls |
| 123 | .map((call) => call[0]) |
| 124 | .filter((output) => !output.includes("DeprecationWarning")) |
| 125 | .join("") |
| 126 | .replaceAll(/127\.0\.0\.1:\d+/g, "127.0.0.1:<port>") |
| 127 | .replaceAll(/\[ENOTFOUND\]|\[EAI_AGAIN\]/g, "[<DNS_ERROR>]"); |
| 128 | } |
| 129 | |
| 130 | function getConsoleErrorOutput(consoleSpy) { |
| 131 | return consoleSpy.mock.calls |
no outgoing calls
no test coverage detected
searching dependent graphs…