MCPcopy
hub / github.com/withastro/astro / text

Function text

packages/integrations/node/test/test-utils.ts:46–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44
45 // Get the response as text
46 const text: () => Promise<string> = async () => {
47 const chunks = await done;
48 return buffersToString(chunks);
49 };
50
51 return { req, res, done, text };
52}

Callers 3

encoded.test.tsFile · 0.70
url.test.tsFile · 0.70
locals.test.tsFile · 0.70

Calls 1

buffersToStringFunction · 0.70

Tested by

no test coverage detected