diff --git a/.nvmrc b/.nvmrc index bf71a6e..89f71c7 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -0.10.36 \ No newline at end of file +4.3 \ No newline at end of file diff --git a/lambda-config.js b/lambda-config.js index d1432ca..79cd4ab 100644 --- a/lambda-config.js +++ b/lambda-config.js @@ -8,7 +8,7 @@ module.exports = { region: 'us-east-1', handler: 'index.handler', functionName: 'tc-members-api', - timeout: 5, + timeout: 180, memorySize: 512 // eventSource: {} } diff --git a/package.json b/package.json index 52eea4c..99039a4 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,6 @@ "aws-sdk": "^2.2.41", "chai": "^3.5.0", "dynamodb-doc": "^1.0.0", - "es6-promise": "^3.1.2", "gulp": "^3.9.1", "mocha": "^2.4.5", "node-lambda": "^0.8.0", diff --git a/src/index.spec.js b/src/index.spec.js index 8d49120..3f7bd28 100644 --- a/src/index.spec.js +++ b/src/index.spec.js @@ -42,8 +42,6 @@ var mockEvent = { } } -require('es6-promise').polyfill(); - var chai = require("chai"); var expect = require("chai").expect, lambdaToTest = require('./index.js');