You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it('should stop early if there is nothing to commit',async()=>{
@@ -407,7 +407,7 @@ describe('git', () => {
407
407
})
408
408
409
409
awaitdeploy(action)
410
-
expect(execute).toBeCalledTimes(13)
410
+
expect(execute).toBeCalledTimes(14)
411
411
})
412
412
413
413
it('should throw an error if one of the required parameters is not available',async()=>{
@@ -427,7 +427,7 @@ describe('git', () => {
427
427
try{
428
428
awaitdeploy(action)
429
429
}catch(e){
430
-
expect(execute).toBeCalledTimes(1)
430
+
expect(execute).toBeCalledTimes(2)
431
431
expect(e.message).toMatch(
432
432
'The deploy step encountered an error: No deployment token/method was provided. You must provide the action with either a Personal Access Token or the GitHub Token secret in order to deploy. If you wish to use an ssh deploy token then you must set SSH to true. ❌'
0 commit comments