Commit b89fa21
authored
fix: Allow filtering null values (#1067)
* fix: Allows nulls to be passed into value
A user expressed interest in filtering with a null value. This typescript parameter change will now allow users to do so.
fixes #958
* Add tests in the system test folder
The code in the system test folder reflects the user experience more closely so we want to provide test cases there that will break when compiling typescript if new changes in src are not provided.
* Assert statements in system tests
Add assert statements to check that the value in the filter created in the system test actually equals null.
* Modify tests to assert check for null
Slight rename in system tests. Modified tests so that they test to see that the filter has a null value.
* Prefer elvis operator in assert statements
This change replaces the a longer fragment with elvis operator to make assert statements more concise.
* eliminate the need for a variable
In two tests we eliminate variables and just have an assert statement so that we can have more concise code.1 parent 0c8bc83 commit b89fa21
3 files changed
+31
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
204 | | - | |
205 | | - | |
206 | | - | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
207 | 211 | | |
208 | 212 | | |
209 | 213 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
868 | 868 | | |
869 | 869 | | |
870 | 870 | | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
871 | 885 | | |
872 | 886 | | |
873 | 887 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
166 | 176 | | |
167 | 177 | | |
168 | 178 | | |
| |||
0 commit comments