File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,17 +12,19 @@ describe("bump", () => {
1212
1313 // Run the CLI without any arguments.
1414 // It will prompt the user and wait forever, so add a timeout.
15- this . timeout ( Math . max ( 5000 , this . timeout ( ) ) ) ;
16- let bump = chaiExec ( "" , { timeout : 2500 } ) ;
15+ this . timeout ( Math . max ( 10000 , this . timeout ( ) ) ) ;
16+ let bump = chaiExec ( "" , { timeout : 5000 } ) ;
1717
1818 try {
1919 // It should have prompted for input
2020 expect ( bump . stdout ) . to . contain ( "The current version in package.json is 1.0.0\nHow would you like to bump it? (Use arrow keys)" ) ;
2121 }
2222 catch ( error ) {
23- console . log ( "====================== begin bump output ======================" ) ;
24- console . log ( bump ) ;
25- console . log ( "====================== end bump output ======================" ) ;
23+ console . log (
24+ "====================== begin bump output ======================\n" ,
25+ bump ,
26+ "\n====================== end bump output ======================"
27+ ) ;
2628 throw error ;
2729 }
2830 } ) ;
You can’t perform that action at this time.
0 commit comments