UNPKG

serverless-spy

Version:

CDK-based library for writing elegant integration tests on AWS serverless architecture and an additional web console to monitor events in real time.

8 lines (6 loc) 243 B
import { FunctionBaseSpyEvent } from './FunctionBaseSpyEvent'; export interface FunctionResponseSpyEvent<TRequest = any, TResponse = any> extends FunctionBaseSpyEvent<TRequest> { spyEventType: 'FunctionResponse'; response: TResponse; }