MCPcopy
hub / github.com/webpack/webpack-dev-server / getConsoleErrorOutput

Function getConsoleErrorOutput

test/server/proxy-option.test.js:130–136  ·  view source on GitHub ↗
(consoleSpy)

Source from the content-addressed store, hash-verified

128 }
129
130 function getConsoleErrorOutput(consoleSpy) {
131 return consoleSpy.mock.calls
132 .map((call) => call[0])
133 .join("\n")
134 .replaceAll(/127\.0\.0\.1:\d+/g, "127.0.0.1:<port>")
135 .replaceAll(/\[ENOTFOUND\]|\[EAI_AGAIN\]/g, "[<DNS_ERROR>]");
136 }
137
138 async function listenProxyServers() {
139 const proxyApp1 = express();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…