@@ -48,7 +48,7 @@ describe('Unit: Tasks > Major Update > UI', function () {
48
48
} ) ;
49
49
50
50
await ui ( ctx ) ;
51
- expect ( ctx . ui . log . callCount ) . to . eql ( 4 ) ;
51
+ expect ( ctx . ui . log . callCount ) . to . eql ( 5 ) ;
52
52
expect ( ctx . ui . confirm . calledOnce ) . to . be . true ;
53
53
expect ( ctx . ui . confirm . args [ 0 ] [ 1 ] , 'confirm prompt default should be true' ) . to . be . true ;
54
54
} ) ;
@@ -74,7 +74,7 @@ describe('Unit: Tasks > Major Update > UI', function () {
74
74
} ) ;
75
75
76
76
await ui ( ctx ) ;
77
- expect ( ctx . ui . log . callCount ) . to . eql ( 6 ) ;
77
+ expect ( ctx . ui . log . callCount ) . to . eql ( 7 ) ;
78
78
expect ( ctx . ui . confirm . calledTwice ) . to . be . true ;
79
79
expect ( ctx . ui . confirm . args [ 1 ] [ 1 ] , 'confirm prompt default should be false' ) . to . be . false ;
80
80
@@ -111,7 +111,7 @@ describe('Unit: Tasks > Major Update > UI', function () {
111
111
} ) ;
112
112
113
113
await ui ( ctx ) ;
114
- expect ( ctx . ui . log . callCount ) . to . eql ( 7 ) ;
114
+ expect ( ctx . ui . log . callCount ) . to . eql ( 8 ) ;
115
115
expect ( ctx . ui . confirm . calledTwice ) . to . be . true ;
116
116
expect ( ctx . ui . confirm . args [ 1 ] [ 1 ] , 'confirm prompt default should be false' ) . to . be . false ;
117
117
@@ -154,7 +154,7 @@ describe('Unit: Tasks > Major Update > UI', function () {
154
154
expect ( err . message ) . to . match ( / U p d a t e a b o r t e d / ) ;
155
155
expect ( err . logMessageOnly ) . to . be . true ;
156
156
157
- expect ( ctx . ui . log . callCount ) . to . eql ( 8 ) ;
157
+ expect ( ctx . ui . log . callCount ) . to . eql ( 9 ) ;
158
158
expect ( ctx . ui . confirm . calledTwice ) . to . be . true ;
159
159
160
160
const output = stripAnsi ( ctx . ui . log . args . join ( ' ' ) ) ;
@@ -203,7 +203,7 @@ describe('Unit: Tasks > Major Update > UI', function () {
203
203
expect ( err . message ) . to . match ( / M i g r a t i o n f a i l e d . Y o u r t h e m e h a s f a t a l e r r o r s / ) ;
204
204
expect ( err . logMessageOnly ) . to . exist ;
205
205
206
- expect ( ctx . ui . log . callCount ) . to . eql ( 9 ) ;
206
+ expect ( ctx . ui . log . callCount ) . to . eql ( 10 ) ;
207
207
expect ( ctx . ui . confirm . calledOnce ) . to . be . true ;
208
208
209
209
const output = stripAnsi ( ctx . ui . log . args . join ( ' ' ) ) ;
0 commit comments