MCPcopy Create free account
hub / github.com/fontsource/fontsource / textSnapshot

Function textSnapshot

api/tests/helpers.ts:50–55  ·  view source on GitHub ↗
(input: string | Request)

Source from the content-addressed store, hash-verified

48};
49
50export const textSnapshot = async (input: string | Request) => {
51 const { response, settle } = await dispatch(input);
52 const body = await response.text();
53 await settle();
54 return { status: response.status, headers: serializeHeaders(response), body };
55};
56
57export const setupWorkerTest = async (): Promise<void> => {
58 await reset();

Callers 1

cdn.test.tsFile · 0.90

Calls 3

dispatchFunction · 0.85
serializeHeadersFunction · 0.85
textMethod · 0.65

Tested by

no test coverage detected