Skip to content

Commit

Permalink
unit test
Browse files Browse the repository at this point in the history
Signed-off-by: Francis <colifran@amazon.com>
  • Loading branch information
colifran committed May 22, 2024
1 parent c781f84 commit 5bd1868
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,15 @@ test('Eval with Node.js', () => {
});

Template.fromStack(stack).hasResourceProperties('AWS::Lambda::Function', {
Runtime: 'nodejs18.x',
Runtime: {
'Fn::FindInMap': [
'LatestNodeRuntimeMap',
{
Ref: 'AWS::Region',
},
'value',
],
},
});
});

Expand Down

0 comments on commit 5bd1868

Please sign in to comment.