File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -2600,11 +2600,19 @@ describe('ParseGraphQLServer', () => {
2600
2600
// "SecondaryObject:bBRgmzIRRM" < "SecondaryObject:nTMcuVbATY" true
2601
2601
// base64("SecondaryObject:bBRgmzIRRM"") < base64(""SecondaryObject:nTMcuVbATY"") false
2602
2602
// "U2Vjb25kYXJ5T2JqZWN0OmJCUmdteklSUk0=" < "U2Vjb25kYXJ5T2JqZWN0Om5UTWN1VmJBVFk=" false
2603
+ const originalIds = [ getSecondaryObjectsResult . data . secondaryObject2 . objectId ,
2604
+ getSecondaryObjectsResult . data . secondaryObject4 . objectId ] ;
2603
2605
expect (
2604
2606
findSecondaryObjectsResult . data . secondaryObjects . edges [ 0 ] . node . objectId
2605
- ) . toBeLessThan (
2607
+ ) . not . toBe (
2606
2608
findSecondaryObjectsResult . data . secondaryObjects . edges [ 1 ] . node . objectId
2607
2609
) ;
2610
+ expect (
2611
+ originalIds . includes ( findSecondaryObjectsResult . data . secondaryObjects . edges [ 0 ] . node . objectId )
2612
+ ) . toBeTrue ( ) ;
2613
+ expect (
2614
+ originalIds . includes ( findSecondaryObjectsResult . data . secondaryObjects . edges [ 1 ] . node . objectId )
2615
+ ) . toBeTrue ( ) ;
2608
2616
2609
2617
const createPrimaryObjectResult = await apolloClient . mutate ( {
2610
2618
mutation : gql `
You can’t perform that action at this time.
0 commit comments