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

Function closeProxyServers

test/server/proxy-option.test.js:168–180  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

166 }
167
168 async function closeProxyServers() {
169 await new Promise((resolve) => {
170 proxyServer1.close(() => {
171 resolve();
172 });
173 });
174
175 await new Promise((resolve) => {
176 proxyServer2.close(() => {
177 resolve();
178 });
179 });
180 }
181
182 describe("as an object of paths with properties", () => {
183 let server;

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…