aws-lambda-test-helper
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -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 @@ |
{ | ||
"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 @@ |
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
11966
21
288
62
3
3