-
-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* #668 remove custom stringify function in test * #668 use 2 space indent * #668 remove from CHANGELOG * #668 replace all json for test via UPDATE=1 npm run jest
- Loading branch information
Showing
367 changed files
with
17,592 additions
and
2,616 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,23 @@ | ||
{ | ||
"expression": ["acos", 0.5], | ||
"inputs": [[{}, {}]], | ||
"expression": [ | ||
"acos", | ||
0.5 | ||
], | ||
"inputs": [ | ||
[ | ||
{}, | ||
{} | ||
] | ||
], | ||
"expected": { | ||
"compiled": { | ||
"result": "success", | ||
"isFeatureConstant": true, | ||
"isZoomConstant": true, | ||
"type": "number" | ||
}, | ||
"outputs": [1.04719] | ||
"outputs": [ | ||
1.04719 | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,22 @@ | ||
{ | ||
"expression": ["all"], | ||
"inputs": [[{}, {}]], | ||
"expression": [ | ||
"all" | ||
], | ||
"inputs": [ | ||
[ | ||
{}, | ||
{} | ||
] | ||
], | ||
"expected": { | ||
"compiled": { | ||
"result": "success", | ||
"isFeatureConstant": true, | ||
"isZoomConstant": true, | ||
"type": "boolean" | ||
}, | ||
"outputs": [true] | ||
"outputs": [ | ||
true | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,23 @@ | ||
{ | ||
"expression": ["all", false], | ||
"inputs": [[{}, {}]], | ||
"expression": [ | ||
"all", | ||
false | ||
], | ||
"inputs": [ | ||
[ | ||
{}, | ||
{} | ||
] | ||
], | ||
"expected": { | ||
"compiled": { | ||
"result": "success", | ||
"isFeatureConstant": true, | ||
"isZoomConstant": true, | ||
"type": "boolean" | ||
}, | ||
"outputs": [false] | ||
"outputs": [ | ||
false | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 18 additions & 4 deletions
22
test/integration/expression/tests/all/short-circuiting/test.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,27 @@ | ||
{ | ||
"expression": ["all", false, ["error", "unreachable"]], | ||
"inputs": [[{}, {}]], | ||
"expression": [ | ||
"all", | ||
false, | ||
[ | ||
"error", | ||
"unreachable" | ||
] | ||
], | ||
"inputs": [ | ||
[ | ||
{}, | ||
{} | ||
] | ||
], | ||
"expected": { | ||
"compiled": { | ||
"result": "success", | ||
"isFeatureConstant": true, | ||
"isZoomConstant": true, | ||
"type": "boolean" | ||
}, | ||
"outputs": [false] | ||
"outputs": [ | ||
false | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,22 @@ | ||
{ | ||
"expression": ["any"], | ||
"inputs": [[{}, {}]], | ||
"expression": [ | ||
"any" | ||
], | ||
"inputs": [ | ||
[ | ||
{}, | ||
{} | ||
] | ||
], | ||
"expected": { | ||
"compiled": { | ||
"result": "success", | ||
"isFeatureConstant": true, | ||
"isZoomConstant": true, | ||
"type": "boolean" | ||
}, | ||
"outputs": [false] | ||
"outputs": [ | ||
false | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,23 @@ | ||
{ | ||
"expression": ["any", false], | ||
"inputs": [[{}, {}]], | ||
"expression": [ | ||
"any", | ||
false | ||
], | ||
"inputs": [ | ||
[ | ||
{}, | ||
{} | ||
] | ||
], | ||
"expected": { | ||
"compiled": { | ||
"result": "success", | ||
"isFeatureConstant": true, | ||
"isZoomConstant": true, | ||
"type": "boolean" | ||
}, | ||
"outputs": [false] | ||
"outputs": [ | ||
false | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.