@@ -226,7 +226,7 @@ test('flags', async () => {
226226
227227 expect ( typeof TheCommand . flags [ 'force-build' ] ) . toBe ( 'object' )
228228 expect ( typeof TheCommand . flags [ 'force-build' ] . description ) . toBe ( 'string' )
229- expect ( TheCommand . flags [ 'force-build' ] . default ) . toEqual ( false )
229+ expect ( TheCommand . flags [ 'force-build' ] . default ) . toEqual ( true )
230230 expect ( TheCommand . flags [ 'force-build' ] . allowNo ) . toEqual ( true )
231231
232232 expect ( typeof TheCommand . flags [ 'content-hash' ] ) . toBe ( 'object' )
@@ -327,7 +327,7 @@ describe('run', () => {
327327 expect ( command . buildOneExt ) . toHaveBeenCalledTimes ( 1 )
328328 expect ( command . buildOneExt ) . toHaveBeenCalledWith ( 'application' ,
329329 appConfig . application ,
330- expect . objectContaining ( { 'force-build' : false , verbose : true } ) ,
330+ expect . objectContaining ( { verbose : true , 'force-build' : true } ) ,
331331 expect . anything ( ) )
332332 } )
333333
@@ -343,7 +343,7 @@ describe('run', () => {
343343 expect ( command . buildOneExt ) . toHaveBeenCalledTimes ( 1 )
344344 expect ( command . buildOneExt ) . toHaveBeenCalledWith ( 'application' ,
345345 appConfig . application ,
346- expect . objectContaining ( { 'force-build ' : false , 'web-assets ' : false } ) ,
346+ expect . objectContaining ( { 'web-assets ' : false , 'force-build ' : true } ) ,
347347 expect . anything ( ) )
348348 } )
349349
@@ -413,7 +413,7 @@ describe('run', () => {
413413
414414 expect ( command . buildOneExt ) . toHaveBeenCalledWith ( 'application' ,
415415 appConfig . application ,
416- expect . objectContaining ( { 'force-build' : false , ' web-assets' : false , action : [ 'a' , 'b' , 'c' ] } ) ,
416+ expect . objectContaining ( { 'web-assets' : false , action : [ 'a' , 'b' , 'c' ] , 'force-build' : true } ) ,
417417 expect . anything ( ) )
418418 expect ( mockRuntimeLib . deployActions ) . toHaveBeenCalledWith ( appConfig . application , {
419419 filterEntities : { actions : [ 'a' , 'b' , 'c' ] } ,
@@ -435,7 +435,7 @@ describe('run', () => {
435435
436436 expect ( command . buildOneExt ) . toHaveBeenCalledWith ( 'application' ,
437437 appConfig . application ,
438- expect . objectContaining ( { 'force-build' : false , ' web-assets' : false , action : [ 'c' ] } ) ,
438+ expect . objectContaining ( { 'web-assets' : false , action : [ 'c' ] , 'force-build' : true } ) ,
439439 expect . anything ( ) )
440440 expect ( mockRuntimeLib . deployActions ) . toHaveBeenCalledWith ( appConfig . application , {
441441 filterEntities : { actions : [ 'c' ] } ,
@@ -458,7 +458,7 @@ describe('run', () => {
458458 expect ( command . buildOneExt ) . toHaveBeenCalledTimes ( 1 )
459459 expect ( command . buildOneExt ) . toHaveBeenCalledWith ( 'application' ,
460460 appConfig . application ,
461- expect . objectContaining ( { 'force-build ' : false , 'web-assets ' : false } ) ,
461+ expect . objectContaining ( { 'web-assets ' : false , 'force-build ' : true } ) ,
462462 expect . anything ( ) )
463463 } )
464464
@@ -485,7 +485,7 @@ describe('run', () => {
485485 expect ( command . buildOneExt ) . toHaveBeenCalledTimes ( 1 )
486486 expect ( command . buildOneExt ) . toHaveBeenCalledWith ( 'application' ,
487487 appConfig . application ,
488- expect . objectContaining ( { 'force-build' : false , actions : false } ) ,
488+ expect . objectContaining ( { actions : false , 'force-build' : true } ) ,
489489 expect . anything ( ) )
490490 } )
491491
@@ -503,7 +503,7 @@ describe('run', () => {
503503 expect ( command . buildOneExt ) . toHaveBeenCalledTimes ( 1 )
504504 expect ( command . buildOneExt ) . toHaveBeenCalledWith ( 'application' ,
505505 appConfig . application ,
506- expect . objectContaining ( { 'force-build' : false , actions : false } ) ,
506+ expect . objectContaining ( { actions : false , 'force-build' : true } ) ,
507507 expect . anything ( ) )
508508 } )
509509
@@ -520,7 +520,7 @@ describe('run', () => {
520520 expect ( command . buildOneExt ) . toHaveBeenCalledTimes ( 1 )
521521 expect ( command . buildOneExt ) . toHaveBeenCalledWith ( 'application' ,
522522 appConfig . application ,
523- expect . objectContaining ( { 'force-build' : false } ) ,
523+ expect . objectContaining ( { 'force-build' : true } ) ,
524524 expect . anything ( ) )
525525 } )
526526
0 commit comments