@@ -588,69 +588,69 @@ const installationMock = {
588588}
589589
590590const globalFieldDiff = [ {
591- " uid" : " global_field_uid" ,
592- " title" : " Global Field Title" ,
593- " type" : " global_field" ,
594- " status" : " base_only"
591+ uid : ' global_field_uid' ,
592+ title : ' Global Field Title' ,
593+ type : ' global_field' ,
594+ status : ' base_only'
595595} ]
596596
597597const contentTypeDiff = [ {
598- " uid" : " content_type_uid_1" ,
599- " title" : " Content Type 1 Title" ,
600- " type" : " content_type" ,
601- " status" : " compare_only"
598+ uid : ' content_type_uid_1' ,
599+ title : ' Content Type 1 Title' ,
600+ type : ' content_type' ,
601+ status : ' compare_only'
602602} ,
603603{
604- " uid" : " content_type_uid_2" ,
605- " title" : " Content Type 2 Title" ,
606- " type" : " content_type" ,
607- " status" : " modified"
604+ uid : ' content_type_uid_2' ,
605+ title : ' Content Type 2 Title' ,
606+ type : ' content_type' ,
607+ status : ' modified'
608608} ]
609609
610610const branchCompareAllMock = {
611- " branches" : {
612- " base_branch" : " UID" ,
613- " compare_branch" : " dev"
611+ branches : {
612+ base_branch : ' UID' ,
613+ compare_branch : ' dev'
614614 } ,
615- " diff" : [ ...globalFieldDiff , ...contentTypeDiff ] ,
616- " next_url" : " https://api.contentstack.io/v3/stacks/branches/compare?base_branch=main&compare_branch=dev&skip=0&limit=100"
615+ diff : [ ...globalFieldDiff , ...contentTypeDiff ] ,
616+ next_url : ' https://api.contentstack.io/v3/stacks/branches/compare?base_branch=main&compare_branch=dev&skip=0&limit=100'
617617}
618618
619619const branchCompareContentTypeMock = {
620- " branches" : {
621- " base_branch" : " UID" ,
622- " compare_branch" : " dev"
620+ branches : {
621+ base_branch : ' UID' ,
622+ compare_branch : ' dev'
623623 } ,
624- " diff" : [ ...contentTypeDiff ] ,
625- " next_url" : " https://api.contentstack.io/v3/stacks/branches/compare?base_branch=main&compare_branch=dev&skip=0&limit=100"
624+ diff : [ ...contentTypeDiff ] ,
625+ next_url : ' https://api.contentstack.io/v3/stacks/branches/compare?base_branch=main&compare_branch=dev&skip=0&limit=100'
626626}
627627
628628const branchCompareGlobalFieldMock = {
629- " branches" : {
630- " base_branch" : " UID" ,
631- " compare_branch" : " dev"
629+ branches : {
630+ base_branch : ' UID' ,
631+ compare_branch : ' dev'
632632 } ,
633- " diff" : [ ...globalFieldDiff ] ,
634- " next_url" : " https://api.contentstack.io/v3/stacks/branches/compare?base_branch=main&compare_branch=dev&skip=0&limit=100"
633+ diff : [ ...globalFieldDiff ] ,
634+ next_url : ' https://api.contentstack.io/v3/stacks/branches/compare?base_branch=main&compare_branch=dev&skip=0&limit=100'
635635}
636636
637637const branchMergeAllMock = {
638- " uid" : " UID" ,
639- " stack" : " stack_uid" ,
640- " created_at" : " created_at_date" ,
641- " updated_at" : " updated_at_date" ,
642- " created_by" : " created_by_user_uid" ,
643- " updated_by" : " updated_by_user_uid" ,
644- " merge_details" : {
645- " base_branch" : " main" ,
646- " compare_branch" : " dev" ,
647- " status" : " in_progress"
638+ uid : ' UID' ,
639+ stack : ' stack_uid' ,
640+ created_at : ' created_at_date' ,
641+ updated_at : ' updated_at_date' ,
642+ created_by : ' created_by_user_uid' ,
643+ updated_by : ' updated_by_user_uid' ,
644+ merge_details : {
645+ base_branch : ' main' ,
646+ compare_branch : ' dev' ,
647+ status : ' in_progress'
648648 } ,
649- " merged_at" : null ,
650- " errors" : [
649+ merged_at : null ,
650+ errors : [
651651 {
652- " code" : " error_code" ,
653- " message" : " Error message"
652+ code : ' error_code' ,
653+ message : ' Error message'
654654 }
655655 ]
656656}
@@ -660,7 +660,7 @@ const branchMergeQueueFetchMock = {
660660}
661661
662662const branchMergeQueueFindMock = {
663- " queue" : [
663+ queue : [
664664 { ...branchMergeQueueFetchMock }
665665 ]
666666}
0 commit comments