@@ -159,7 +159,7 @@ test('successfully obtains a deployment lock (non-sticky) by creating the branch
159159 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock env: ${ environment } ` )
160160 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock global: false` )
161161 expect ( debugMock ) . toHaveBeenCalledWith (
162- `constructed lock branch: ${ environment } -branch-deploy-lock`
162+ `constructed lock branch name : ${ environment } -branch-deploy-lock`
163163 )
164164} )
165165
@@ -175,7 +175,7 @@ test('Determines that another user has the lock (GLOBAL) and exits - during a lo
175175 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock env: ${ environment } ` )
176176 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock global: false` )
177177 expect ( debugMock ) . toHaveBeenCalledWith (
178- `constructed lock branch: ${ environment } -branch-deploy-lock`
178+ `constructed lock branch name : ${ environment } -branch-deploy-lock`
179179 )
180180 expect ( actionStatusSpy ) . toHaveBeenCalledWith (
181181 context ,
@@ -206,7 +206,7 @@ test('Determines that another user has the lock (non-global) and exits - during
206206 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock env: ${ environment } ` )
207207 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock global: false` )
208208 expect ( debugMock ) . toHaveBeenCalledWith (
209- `constructed lock branch: ${ environment } -branch-deploy-lock`
209+ `constructed lock branch name : ${ environment } -branch-deploy-lock`
210210 )
211211 expect ( actionStatusSpy ) . toHaveBeenCalledWith (
212212 context ,
@@ -265,7 +265,7 @@ test('Determines that another user has the lock (GLOBAL) and exits - during a di
265265 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock env: null` )
266266 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock global: true` )
267267 expect ( debugMock ) . toHaveBeenCalledWith (
268- `constructed lock branch: global-branch-deploy-lock`
268+ `constructed lock branch name : global-branch-deploy-lock`
269269 )
270270 expect ( actionStatusSpy ) . toHaveBeenCalledWith (
271271 context ,
@@ -323,7 +323,7 @@ test('Determines that another user has the lock (non-global) and exits - during
323323 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock env: ${ environment } ` )
324324 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock global: false` )
325325 expect ( debugMock ) . toHaveBeenCalledWith (
326- `constructed lock branch: ${ environment } -branch-deploy-lock`
326+ `constructed lock branch name : ${ environment } -branch-deploy-lock`
327327 )
328328 expect ( actionStatusSpy ) . toHaveBeenCalledWith (
329329 context ,
@@ -376,7 +376,7 @@ test('Request detailsOnly on the lock file and gets lock file data successfully'
376376 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock env: ${ environment } ` )
377377 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock global: false` )
378378 expect ( debugMock ) . toHaveBeenCalledWith (
379- `constructed lock branch: ${ environment } -branch-deploy-lock`
379+ `constructed lock branch name : ${ environment } -branch-deploy-lock`
380380 )
381381} )
382382
@@ -417,7 +417,7 @@ test('Request detailsOnly on the lock file and gets lock file data successfully
417417 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock env: ${ environment } ` )
418418 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock global: false` )
419419 expect ( debugMock ) . toHaveBeenCalledWith (
420- `constructed lock branch: ${ environment } -branch-deploy-lock`
420+ `constructed lock branch name : ${ environment } -branch-deploy-lock`
421421 )
422422} )
423423
@@ -460,7 +460,7 @@ test('Request detailsOnly on the lock file and gets lock file data successfully
460460 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock env: ${ environment } ` )
461461 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock global: false` )
462462 expect ( debugMock ) . toHaveBeenCalledWith (
463- `constructed lock branch: ${ environment } -branch-deploy-lock`
463+ `constructed lock branch name : ${ environment } -branch-deploy-lock`
464464 )
465465} )
466466
@@ -502,7 +502,7 @@ test('Request detailsOnly on the lock file and gets lock file data successfully
502502 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock env: null` )
503503 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock global: true` )
504504 expect ( debugMock ) . toHaveBeenCalledWith (
505- `constructed lock branch: global-branch-deploy-lock`
505+ `constructed lock branch name : global-branch-deploy-lock`
506506 )
507507} )
508508
@@ -534,7 +534,7 @@ test('Request detailsOnly on the lock file and does not find a lock --global', a
534534 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock env: null` )
535535 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock global: true` )
536536 expect ( debugMock ) . toHaveBeenCalledWith (
537- `constructed lock branch: global-branch-deploy-lock`
537+ `constructed lock branch name : global-branch-deploy-lock`
538538 )
539539} )
540540
@@ -577,7 +577,7 @@ test('Request detailsOnly on the lock file and gets lock file data successfully
577577 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock env: ${ environment } ` )
578578 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock global: false` )
579579 expect ( debugMock ) . toHaveBeenCalledWith (
580- `constructed lock branch: ${ environment } -branch-deploy-lock`
580+ `constructed lock branch name : ${ environment } -branch-deploy-lock`
581581 )
582582} )
583583
@@ -605,7 +605,7 @@ test('Request detailsOnly on the lock file when the lock branch exists but no lo
605605 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock env: ${ environment } ` )
606606 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock global: false` )
607607 expect ( debugMock ) . toHaveBeenCalledWith (
608- `constructed lock branch: ${ environment } -branch-deploy-lock`
608+ `constructed lock branch name : ${ environment } -branch-deploy-lock`
609609 )
610610} )
611611
@@ -638,7 +638,7 @@ test('Request detailsOnly on the lock file when no branch exists', async () => {
638638 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock env: ${ environment } ` )
639639 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock global: false` )
640640 expect ( debugMock ) . toHaveBeenCalledWith (
641- `constructed lock branch: ${ environment } -branch-deploy-lock`
641+ `constructed lock branch name : ${ environment } -branch-deploy-lock`
642642 )
643643} )
644644
@@ -668,7 +668,7 @@ test('Request detailsOnly on the lock file when no branch exists and hits an err
668668 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock env: ${ environment } ` )
669669 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock global: false` )
670670 expect ( debugMock ) . toHaveBeenCalledWith (
671- `constructed lock branch: ${ environment } -branch-deploy-lock`
671+ `constructed lock branch name : ${ environment } -branch-deploy-lock`
672672 )
673673 }
674674} )
@@ -693,7 +693,7 @@ test('Determines that the lock request is coming from current owner of the lock
693693 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock env: ${ environment } ` )
694694 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock global: false` )
695695 expect ( debugMock ) . toHaveBeenCalledWith (
696- `constructed lock branch: ${ environment } -branch-deploy-lock`
696+ `constructed lock branch name : ${ environment } -branch-deploy-lock`
697697 )
698698 expect ( infoMock ) . toHaveBeenCalledWith ( 'monalisa is the owner of the lock' )
699699} )
@@ -718,7 +718,7 @@ test('Determines that the lock request is coming from current owner of the lock
718718 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock env: ${ environment } ` )
719719 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock global: false` )
720720 expect ( debugMock ) . toHaveBeenCalledWith (
721- `constructed lock branch: ${ environment } -branch-deploy-lock`
721+ `constructed lock branch name : ${ environment } -branch-deploy-lock`
722722 )
723723 expect ( infoMock ) . toHaveBeenCalledWith ( 'monalisa is the owner of the lock' )
724724} )
@@ -759,7 +759,7 @@ test('Determines that the lock request is coming from current owner of the lock
759759 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock env: null` )
760760 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock global: true` )
761761 expect ( debugMock ) . toHaveBeenCalledWith (
762- `constructed lock branch: global-branch-deploy-lock`
762+ `constructed lock branch name : global-branch-deploy-lock`
763763 )
764764 expect ( infoMock ) . toHaveBeenCalledWith ( 'octocat is the owner of the lock' )
765765} )
@@ -785,7 +785,7 @@ test('fails to decode the lock file contents', async () => {
785785 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock env: ${ environment } ` )
786786 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock global: false` )
787787 expect ( debugMock ) . toHaveBeenCalledWith (
788- `constructed lock branch: ${ environment } -branch-deploy-lock`
788+ `constructed lock branch name : ${ environment } -branch-deploy-lock`
789789 )
790790 }
791791} )
@@ -814,7 +814,7 @@ test('Creates a lock when the lock branch exists but no lock file exists', async
814814 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock env: ${ environment } ` )
815815 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock global: false` )
816816 expect ( debugMock ) . toHaveBeenCalledWith (
817- `constructed lock branch: ${ environment } -branch-deploy-lock`
817+ `constructed lock branch name : ${ environment } -branch-deploy-lock`
818818 )
819819 expect ( infoMock ) . toHaveBeenCalledWith ( 'deployment lock obtained' )
820820} )
@@ -828,7 +828,7 @@ test('successfully obtains a deployment lock (sticky) by creating the branch and
828828 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock env: ${ environment } ` )
829829 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock global: false` )
830830 expect ( debugMock ) . toHaveBeenCalledWith (
831- `constructed lock branch: ${ environment } -branch-deploy-lock`
831+ `constructed lock branch name : ${ environment } -branch-deploy-lock`
832832 )
833833 expect ( infoMock ) . toHaveBeenCalledWith ( 'deployment lock obtained' )
834834 expect ( infoMock ) . toHaveBeenCalledWith ( 'deployment lock is sticky' )
@@ -845,7 +845,7 @@ test('successfully obtains a deployment lock (sticky) by creating the branch and
845845 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock env: ${ environment } ` )
846846 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock global: false` )
847847 expect ( debugMock ) . toHaveBeenCalledWith (
848- `constructed lock branch: ${ environment } -branch-deploy-lock`
848+ `constructed lock branch name : ${ environment } -branch-deploy-lock`
849849 )
850850 expect ( infoMock ) . toHaveBeenCalledWith ( 'deployment lock obtained' )
851851 expect ( infoMock ) . toHaveBeenCalledWith ( 'deployment lock is sticky' )
@@ -864,7 +864,7 @@ test('successfully obtains a deployment lock (sticky and global) by creating the
864864 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock env: null` )
865865 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock global: true` )
866866 expect ( debugMock ) . toHaveBeenCalledWith (
867- `constructed lock branch: global-branch-deploy-lock`
867+ `constructed lock branch name : global-branch-deploy-lock`
868868 )
869869 expect ( infoMock ) . toHaveBeenCalledWith ( 'global lock: true' )
870870 expect ( infoMock ) . toHaveBeenCalledWith ( 'deployment lock obtained' )
@@ -885,7 +885,7 @@ test('successfully obtains a deployment lock (sticky and global) by creating the
885885 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock env: null` )
886886 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock global: true` )
887887 expect ( debugMock ) . toHaveBeenCalledWith (
888- `constructed lock branch: global-branch-deploy-lock`
888+ `constructed lock branch name : global-branch-deploy-lock`
889889 )
890890 expect ( debugMock ) . toHaveBeenCalledWith ( 'reason: because something is broken' )
891891 expect ( infoMock ) . toHaveBeenCalledWith ( 'global lock: true' )
@@ -910,7 +910,7 @@ test('successfully obtains a deployment lock (sticky and global) by creating the
910910 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock env: null` )
911911 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock global: true` )
912912 expect ( debugMock ) . toHaveBeenCalledWith (
913- `constructed lock branch: global-branch-deploy-lock`
913+ `constructed lock branch name : global-branch-deploy-lock`
914914 )
915915 expect ( infoMock ) . toHaveBeenCalledWith ( 'global lock: true' )
916916 expect ( infoMock ) . toHaveBeenCalledWith ( 'deployment lock obtained' )
@@ -930,7 +930,7 @@ test('successfully obtains a deployment lock (sticky) by creating the branch and
930930 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock env: development` )
931931 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock global: false` )
932932 expect ( debugMock ) . toHaveBeenCalledWith (
933- `constructed lock branch: development-branch-deploy-lock`
933+ `constructed lock branch name : development-branch-deploy-lock`
934934 )
935935 expect ( debugMock ) . toHaveBeenCalledWith (
936936 'reason: because something is broken badly'
@@ -951,7 +951,7 @@ test('successfully obtains a deployment lock (sticky) by creating the branch and
951951 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock env: ${ environment } ` )
952952 expect ( debugMock ) . toHaveBeenCalledWith ( `detected lock global: false` )
953953 expect ( debugMock ) . toHaveBeenCalledWith (
954- `constructed lock branch: ${ environment } -branch-deploy-lock`
954+ `constructed lock branch name : ${ environment } -branch-deploy-lock`
955955 )
956956 expect ( debugMock ) . toHaveBeenCalledWith ( 'reason: because something is broken' )
957957 expect ( infoMock ) . toHaveBeenCalledWith ( 'global lock: false' )
0 commit comments