Skip to content

Commit

Permalink
Merge pull request #1 from rogelio-o/develop
Browse files Browse the repository at this point in the history
Updated core version.
  • Loading branch information
rogelio-o committed Dec 25, 2017
2 parents 4ba37c6 + 9240787 commit e8d5adc
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 18 deletions.
42 changes: 28 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"precompile": "npm run clean",
"pretest": "npm run compile",
"test": "nyc --reporter=html --reporter=text mocha --recursive dist/test/",
"posttest": "npm run lint && nyc check-coverage --statements 70 --branches 70 --functions 70 --lines 70",
"posttest": "npm run lint && nyc check-coverage --statements 90 --branches 90 --functions 90 --lines 90",
"compile": "tsc",
"lint": "tslint --config tslint.json --project tsconfig.json",
"coveralls": "nyc report --reporter=text-lcov | coveralls",
Expand Down Expand Up @@ -45,7 +45,7 @@
"dependencies": {
"@types/aws-lambda": "0.0.21",
"aws-sdk": "^2.161.0",
"lambda-framework": "^1.0.19"
"lambda-framework": "^1.0.20"
},
"nyc": {
"exclude": [
Expand Down
4 changes: 2 additions & 2 deletions test/AWSHandler.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* tslint:disable:no-unused-expression */
import { APIGatewayEvent, Callback, Context } from "aws-lambda";
import * as Chai from "chai";
import lambdaFramework, { IApp, RawEvent } from "lambda-framework";
import { App, IApp, RawEvent } from "lambda-framework";
import { SinonStub, stub } from "sinon";
import AWSHandler from "./../src/lib/AWSHandler";
import AWSRawCallback from "./../src/lib/AWSRawCallback";
Expand All @@ -14,7 +14,7 @@ describe("AWSHandler", () => {
const event: APIGatewayEvent = aPIGatewayEvent;
const context: Context = null;
const callback: Callback = null;
const app: IApp = new lambdaFramework();
const app: IApp = new App();
const appHandle: SinonStub = stub(app, "handle");
const handler: AWSHandler = new AWSHandler(app);

Expand Down

0 comments on commit e8d5adc

Please sign in to comment.