Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Elad Ben-Israel authored May 16, 2019
1 parent b25c7a2 commit bcade1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/@aws-cdk/aws-lambda/test/test.lambda.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1167,11 +1167,11 @@ export = {
// THEN
test.throws(() => new lambda.Function(stack, 'Function', {
layers: [layer],
runtime: lambda.Runtime.NodeJS10x,
runtime: lambda.Runtime.NodeJS610,
code: lambda.Code.inline('exports.main = function() { console.log("DONE"); }'),
handler: 'index.main'
}),
/nodejs10.x is not in \[nodejs8.10\]/);
/nodejs6.10 is not in \[nodejs8.10\]/);

test.done();
},
Expand Down

1 comment on commit bcade1e

@robertd
Copy link
Contributor

@robertd robertd commented on bcade1e May 16, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@leepa @eladb @coderbyheart Perhaps we should use different runtime for this test (I.e. Python36) if we’re going to remove 4.3 and 6.10 at some point?

Please sign in to comment.