numo-labs / aws-lambda-helper

:lollipop: Collection of helper methods for lambda
GNU General Public License v3.0
22 stars 2 forks source link

Throw and Error when invokedFunctionArn is invalid #6

Closed nelsonic closed 8 years ago

nelsonic commented 8 years ago

If the ARN is invalid the helper should throw an error. This was specified by @plaenen in: https://github.com/tcdl/aws-lambda-helper/blob/d692d49dd2003ad4eb6a8fe911705e6c67888ca0/lib/index.js#L40 we need to write a test for it...