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

Function configWith

packages/cli/test/unit/util/dev/validate.test.ts:313–316  ·  view source on GitHub ↗
(maxDuration: number)

Source from the content-addressed store, hash-verified

311 });
312
313 const configWith = (maxDuration: number) =>
314 ({ functions: { 'api/*.js': { maxDuration } } }) satisfies Parameters<
315 typeof validateConfig
316 >[0];
317
318 it('rejects maxDuration above the default 1800s bound when unset', () => {
319 const error = validateConfig(configWith(1900));

Callers 1

validate.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected