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

Function trace

packages/build-utils/test/unit.finalize-lambda.test.ts:221–224  ·  view source on GitHub ↗
(name, fn)

Source from the content-addressed store, hash-verified

219 it('calls trace function for collectUncompressedSize and createZip', async () => {
220 const traced: string[] = [];
221 const trace: TraceFn = async (name, fn) => {
222 traced.push(name);
223 return fn();
224 };
225
226 const lambda = createBasicLambda({
227 'index.js': new FileBlob({ data: Buffer.alloc(100) }),

Callers 1

finalizeLambdaFunction · 0.50

Calls 1

pushMethod · 0.65

Tested by

no test coverage detected