@schedulino/aws-lambda-test-utils

AWS Lambda mock event objects for most common AWS services

Usage no npm install needed!

<script type="module">
  import schedulinoAwsLambdaTestUtils from 'https://cdn.skypack.dev/@schedulino/aws-lambda-test-utils';
</script>

README

aws-lambda-test-utils

Build Status

AWS Lambda mock event objects for most common AWS services.

Installation

$ npm install --save-dev @schedulino/aws-lambda-test-utils

Use in your Tests

import {
  apiGatewayEventMock,
  apiGatewayProxyResultMock,
  contextMock,
} from '@schedulino/aws-lambda-test-utils';

const apiGatewayEvent = apiGatewayEventMock();
const apiGatewayProxyResult = apiGatewayProxyResultMock();
const context = contextMock();