(maxDuration: number)
| 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)); |