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', () => {
26002600 // "SecondaryObject:bBRgmzIRRM" < "SecondaryObject:nTMcuVbATY" true
26012601 // base64("SecondaryObject:bBRgmzIRRM"") < base64(""SecondaryObject:nTMcuVbATY"") false
26022602 // "U2Vjb25kYXJ5T2JqZWN0OmJCUmdteklSUk0=" < "U2Vjb25kYXJ5T2JqZWN0Om5UTWN1VmJBVFk=" false
2603+ const originalIds = [ getSecondaryObjectsResult . data . secondaryObject2 . objectId ,
2604+ getSecondaryObjectsResult . data . secondaryObject4 . objectId ] ;
26032605 expect (
26042606 findSecondaryObjectsResult . data . secondaryObjects . edges [ 0 ] . node . objectId
2605- ) . toBeLessThan (
2607+ ) . not . toBe (
26062608 findSecondaryObjectsResult . data . secondaryObjects . edges [ 1 ] . node . objectId
26072609 ) ;
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 ( ) ;
26082616
26092617 const createPrimaryObjectResult = await apolloClient . mutate ( {
26102618 mutation : gql `
You can’t perform that action at this time.
0 commit comments