Skip to content

Commit

Permalink
chore: add json path tests
Browse files Browse the repository at this point in the history
  • Loading branch information
koladilip committed May 22, 2024
1 parent ffe4f14 commit 3b90cc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/scenarios/paths/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ export const data: Scenario[] = [
b: 3,
},
],
[2, 4, 6],
],
},
{
Expand Down
1 change: 1 addition & 0 deletions test/scenarios/paths/json_path.jt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
~j $.foo,
~j $.items[*],
~j $.items[?(@.a>1)],
~j $.items.(@.a + @.b)
]

0 comments on commit 3b90cc9

Please sign in to comment.