MCPcopy Create free account
hub / github.com/GoogleCloudPlatform/functions-framework-nodejs / createResponse

Function createResponse

test/function_wrappers.ts:62–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60 }
61
62 const createResponse = () => {
63 return new ResponseMock() as unknown as Response;
64 };
65
66 it('correctly wraps an http function', done => {
67 const request = createRequest({foo: 'bar'});

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected