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
Copy file name to clipboardExpand all lines: __tests__/git.test.ts
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -341,7 +341,7 @@ describe('git', () => {
341
341
constresponse=awaitdeploy(action)
342
342
343
343
// Includes the call to generateBranch
344
-
expect(execute).toBeCalledTimes(12)
344
+
expect(execute).toBeCalledTimes(13)
345
345
expect(rmRF).toBeCalledTimes(1)
346
346
expect(response).toBe(Status.SUCCESS)
347
347
})
@@ -361,7 +361,7 @@ describe('git', () => {
361
361
awaitdeploy(action)
362
362
363
363
// Includes the call to generateBranch
364
-
expect(execute).toBeCalledTimes(18)
364
+
expect(execute).toBeCalledTimes(19)
365
365
expect(rmRF).toBeCalledTimes(1)
366
366
})
367
367
@@ -382,7 +382,7 @@ describe('git', () => {
382
382
awaitdeploy(action)
383
383
384
384
// Includes the call to generateBranch
385
-
expect(execute).toBeCalledTimes(12)
385
+
expect(execute).toBeCalledTimes(13)
386
386
expect(rmRF).toBeCalledTimes(1)
387
387
})
388
388
@@ -402,7 +402,7 @@ describe('git', () => {
402
402
awaitdeploy(action)
403
403
404
404
// Includes the call to generateBranch
405
-
expect(execute).toBeCalledTimes(12)
405
+
expect(execute).toBeCalledTimes(13)
406
406
expect(rmRF).toBeCalledTimes(1)
407
407
})
408
408
@@ -421,7 +421,7 @@ describe('git', () => {
421
421
422
422
awaitdeploy(action)
423
423
424
-
expect(execute).toBeCalledTimes(12)
424
+
expect(execute).toBeCalledTimes(13)
425
425
expect(rmRF).toBeCalledTimes(1)
426
426
expect(mkdirP).toBeCalledTimes(1)
427
427
})
@@ -439,7 +439,7 @@ describe('git', () => {
439
439
})
440
440
441
441
constresponse=awaitdeploy(action)
442
-
expect(execute).toBeCalledTimes(13)
442
+
expect(execute).toBeCalledTimes(14)
443
443
expect(rmRF).toBeCalledTimes(1)
444
444
expect(response).toBe(Status.SKIPPED)
445
445
})
@@ -461,7 +461,7 @@ describe('git', () => {
461
461
try{
462
462
awaitdeploy(action)
463
463
}catch(e){
464
-
expect(execute).toBeCalledTimes(1)
464
+
expect(execute).toBeCalledTimes(2)
465
465
expect(rmRF).toBeCalledTimes(1)
466
466
expect(e.message).toMatch(
467
467
'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