Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rix0rrr committed Mar 15, 2021
1 parent ec0a580 commit 2a682d4
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ test('Eval with Node.js', () => {
[
'{"StartAt":"Task","States":{"Task":{"End":true,"Type":"Task","Resource":"',
{
'Fn::GetAtt': ['Evala0d2ce44871b4e7487a1f5e63d7c3bdc4DAC06E1', 'Arn'],
'Fn::GetAtt': ['Evalda2d1181604e4a4586941a6abd7fe42dF371675D', 'Arn'],
},
'","Parameters":{"expression":"$.a + $.b","expressionAttributeValues":{"$.a.$":"$.a","$.b.$":"$.b"}}}}}',
],
Expand Down Expand Up @@ -54,7 +54,7 @@ test('expression does not contain paths', () => {
[
'{"StartAt":"Task","States":{"Task":{"End":true,"Type":"Task","Resource":"',
{
'Fn::GetAtt': ['Evala0d2ce44871b4e7487a1f5e63d7c3bdc4DAC06E1', 'Arn'],
'Fn::GetAtt': ['Evalda2d1181604e4a4586941a6abd7fe42dF371675D', 'Arn'],
},
'","Parameters":{"expression":"2 + 2","expressionAttributeValues":{}}}}}',
],
Expand All @@ -79,7 +79,7 @@ test('with dash and underscore in path', () => {
[
'{"StartAt":"Task","States":{"Task":{"End":true,"Type":"Task","Resource":"',
{
'Fn::GetAtt': ['Evala0d2ce44871b4e7487a1f5e63d7c3bdc4DAC06E1', 'Arn'],
'Fn::GetAtt': ['Evalda2d1181604e4a4586941a6abd7fe42dF371675D', 'Arn'],
},
'","Parameters":{"expression":"$.a_b + $.c-d + $[_e]","expressionAttributeValues":{"$.a_b.$":"$.a_b","$.c-d.$":"$.c-d","$[_e].$":"$[_e]"}}}}}',
],
Expand Down

0 comments on commit 2a682d4

Please sign in to comment.