dwyl/learn-aws-lambda

Tests fail because Lab requires ES6 ...

nelsonic opened this issue · 3 comments

Even though the tests pass fine on our local machine(s):

dwyl-learn-aws-lambda-tests-pass-locally

They fail on CodeShip because Lab uses ES6:

dwyl-learn-aws-lambda-build-failing

Lambda only supports node 0.10.36 which is why we are running our tests using v0.10

Contemplating moving back to tape for tests... or Mocha (which is what is being used on our Front-end app...)

Downgrading to lab@6.0.0 and code@1.5.0 means that we can run the tests on node@0.10.36 and they pass:
learn-lambda-tests-pass-with-node-0 10 36-old-lab

Tests still failing (even though they pass on localhost...!)
learn-lambda-tests-fail

Finally! (test pass!)
learn-lambda-tests-pass