Skip to content

Commit

Permalink
Adjust expected JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudBuchholz committed Dec 3, 2022
1 parent 5f3288b commit 4b7972e
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions tests/expression.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -654,19 +654,26 @@ describe('expression', () => {
json: {
call: [
{
call: [
get: [
{
get: [
{ constant: [2] },
{ constant: ['toFixed'] }
call: [
{
get: [
{ constant: [2] },
{ constant: ['toFixed'] }
]
},
[
{ constant: [2] }
]
]
},
[
{ constant: [2] }
]
{ constant: ['endsWith'] }
]
},
[{ constant: ['00'] }]
[
{ constant: ['00'] }
]
]
},
expected: true
Expand Down

0 comments on commit 4b7972e

Please sign in to comment.