File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,8 +15,16 @@ describe("bump", () => {
1515 this . timeout ( Math . max ( 5000 , this . timeout ( ) ) ) ;
1616 let bump = chaiExec ( "" , { timeout : 2500 } ) ;
1717
18- // It should have prompted for input
19- 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)" ) ;
18+ try {
19+ // It should have prompted for input
20+ 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)" ) ;
21+ }
22+ catch ( error ) {
23+ console . log ( "====================== begin bump output ======================" ) ;
24+ console . log ( bump ) ;
25+ console . log ( "====================== end bump output ======================" ) ;
26+ throw error ;
27+ }
2028 } ) ;
2129
2230 it ( "should error if an invalid argument is used" , ( ) => {
You can’t perform that action at this time.
0 commit comments