UNPKG

aws-lambda-mock-context

Version:

AWS Lambda mock context object

18 lines (14 loc) 309 B
import {Context} from 'aws-lambda'; interface ContextOptions { region?: string; account?: string; alias?: string; functionName?: string; functionVersion?: string; memoryLimitInMB?: string; timeout?: number; } declare var mockContext: { (options?: ContextOptions): Context; }; export = mockContext;