MCPcopy Create free account
hub / github.com/vercel/vercel / requestDev

Function requestDev

packages/cli/test/dev/integration-2.test.ts:212–216  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

210 }
211
212 const requestDev = async (path: string) => {
213 const response = await nodeFetch(`http://localhost:${port}${path}`);
214 expect(response.status).toBe(200);
215 return (await response.json()) as NodeStandaloneResponse;
216 };
217
218 const devInstance = await requestDev('/');
219 expect(devInstance.url).toBe('/');

Callers 1

Calls 1

jsonMethod · 0.65

Tested by

no test coverage detected