File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -340,23 +340,23 @@ describe('http/main', () => {
340340 filter : {
341341 OR : [
342342 {
343- EQ : { "value. person.org" : "Dev Ops" }
343+ EQ : { "person.org" : "Dev Ops" }
344344 } ,
345345 {
346346 "AND" : [
347347 {
348- "EQ" : { "value. person.org" : "Finance" }
348+ "EQ" : { "person.org" : "Finance" }
349349 } ,
350350 {
351- "IN" : { "value. state" : [ "CA" , "WA" ] }
351+ "IN" : { "state" : [ "CA" , "WA" ] }
352352 }
353353 ]
354354 }
355355 ]
356356 } ,
357357 sort : [
358358 {
359- key : "value. state" ,
359+ key : "state" ,
360360 order : "DESC"
361361 }
362362 ] ,
@@ -365,6 +365,7 @@ describe('http/main', () => {
365365 }
366366 } ) ;
367367
368+ expect ( res . results ) . toBeDefined ( ) ;
368369 expect ( res . results . length ) . toEqual ( 4 ) ;
369370 expect ( res . results . map ( i => i . key ) . indexOf ( "key-1" ) ) . toBeGreaterThan ( - 1 ) ;
370371 expect ( res . results . map ( i => i . key ) . indexOf ( "key-4" ) ) . toBeGreaterThan ( - 1 ) ;
You can’t perform that action at this time.
0 commit comments