New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

aws-lambda-test-helper

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aws-lambda-test-helper - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

.travis.yml

2

index.js

@@ -0,1 +1,3 @@

"use strict";
const Context = require('./lib/context');

@@ -2,0 +4,0 @@ const Event = require('./lib/event');

@@ -0,1 +1,3 @@

"use strict";
const resolve = require('./helpers/resolve');

@@ -2,0 +4,0 @@

@@ -0,1 +1,3 @@

"use strict";
const resolve = require('./helpers/resolve');

@@ -2,0 +4,0 @@

@@ -0,1 +1,3 @@

"use strict";
const path = require('path');

@@ -2,0 +4,0 @@

@@ -0,1 +1,3 @@

"use strict";
const path = require('path');

@@ -2,0 +4,0 @@

@@ -0,1 +1,3 @@

"use strict";
const path = require('path');

@@ -2,0 +4,0 @@

15

package.json
{
"name": "aws-lambda-test-helper",
"version": "1.0.0",
"version": "1.0.1",
"description": "Simple, lightweight tool to help with testing AWS Lambda functions",
"main": "index.js",
"scripts": {
"test": "mocha test --recursive"
"test": "./node_modules/mocha/bin/mocha test --recursive"
},
"keywords": ["promise","lambda",
"keywords": [
"promise",
"lambda",
"local",
"testing"
],
"bugs":{
"repository": {
"type": "git",
"url": "https://github.com/dannycroft/aws-lambda-test-helper.git"
},
"bugs": {
"url": "https://github.com/dannycroft/aws-lambda-test-helper/issues",

@@ -21,4 +27,5 @@ "email": "github@dannycroft.co.uk"

"chai": "^3.5.0",
"mocha": "^3.2.0",
"sinon": "^1.17.7"
}
}

@@ -0,1 +1,3 @@

[![Build Status](https://travis-ci.org/dannycroft/aws-lambda-test-helper.svg?branch=master)](https://travis-ci.org/dannycroft/aws-lambda-test-helper)
## A promise based test helper for running node aws lambda functions

@@ -9,3 +11,3 @@

const expect = require('chai').expect; // chai used for example purposes
const runLambda = require('../index'); // include 'aws-lambda-test-helper'
const runLambda = require('aws-lambda-test-helper');

@@ -52,3 +54,5 @@ const config = {

### Install
#### With NPM
`npm i -D aws-lambda-test-helper`
#### Without NPM
Inside your project clone this repo: `git clone https://github.com/dannycroft/aws-lambda-test-helper.git` then require it from inside your tests `const runLambda = require('../aws-lambda-test-helper');`

@@ -55,0 +59,0 @@

/* global describe, it */
"use strict";

@@ -3,0 +4,0 @@ const expect = require('chai').expect;

/* global describe, it */
"use strict";

@@ -3,0 +4,0 @@ const expect = require('chai').expect;

/* global describe, it */
"use strict";

@@ -3,0 +4,0 @@ const chai = require('chai');

/* global describe, it */
"use strict";

@@ -3,0 +4,0 @@ const path = require('path');

/* global describe, it */
"use strict";

@@ -3,0 +4,0 @@ const path = require('path');

/* global describe, it */
"use strict";

@@ -3,0 +4,0 @@ const path = require('path');

@@ -0,1 +1,3 @@

"use strict";
const https = require('https');

@@ -2,0 +4,0 @@

@@ -0,1 +1,3 @@

"use strict";
const https = require('https');

@@ -2,0 +4,0 @@

@@ -0,1 +1,3 @@

"use strict";
const https = require('https');

@@ -2,0 +4,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc