@@ -16,11 +16,11 @@ describe("bump", () => {
1616 let bump = chaiExec ( "" , { timeout : 2500 } ) ;
1717
1818 // It should have prompted for input
19- expect ( bump . stdout ) . to . contain ( "The current version is 1.0.0\nHow would you like to bump it? (Use arrow keys)" ) ;
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)" ) ;
2020 } ) ;
2121
2222 it ( "should error if an invalid argument is used" , ( ) => {
23- let bump = chaiExec ( "--commit --help --fizzbuzz --tag " ) ;
23+ let bump = chaiExec ( "--commit --help --fizzbuzz --quiet " ) ;
2424
2525 expect ( bump ) . to . have . exitCode ( 9 ) ;
2626 expect ( bump ) . to . have . stdout ( "" ) ;
@@ -29,7 +29,7 @@ describe("bump", () => {
2929 } ) ;
3030
3131 it ( "should error if an invalid shorthand argument is used" , ( ) => {
32- let bump = chaiExec ( "-chzt " ) ;
32+ let bump = chaiExec ( "-cqhzt " ) ;
3333
3434 expect ( bump ) . to . have . exitCode ( 9 ) ;
3535 expect ( bump ) . to . have . stdout ( "" ) ;
@@ -38,7 +38,7 @@ describe("bump", () => {
3838 } ) ;
3939
4040 it ( "should error if an argument is missing its value" , ( ) => {
41- let bump = chaiExec ( "--commit --help --preid --tag " ) ;
41+ let bump = chaiExec ( "--commit --help --preid --quiet " ) ;
4242
4343 expect ( bump ) . to . have . exitCode ( 9 ) ;
4444 expect ( bump ) . to . have . stdout ( "" ) ;
@@ -68,7 +68,7 @@ describe("bump", () => {
6868 } ) ;
6969
7070 it ( "should ignore other arguments" , ( ) => {
71- let bump = chaiExec ( "--commit --help --tag" ) ;
71+ let bump = chaiExec ( "--quiet --help --tag" ) ;
7272
7373 expect ( bump ) . to . have . exitCode ( 0 ) ;
7474 expect ( bump ) . to . have . stderr ( "" ) ;
@@ -104,7 +104,7 @@ describe("bump", () => {
104104 } ) ;
105105
106106 it ( "should ignore other arguments" , ( ) => {
107- let bump = chaiExec ( "--commit --version --tag" ) ;
107+ let bump = chaiExec ( "--quiet --version --tag" ) ;
108108
109109 expect ( bump ) . to . have . exitCode ( 0 ) ;
110110 expect ( bump ) . to . have . stderr ( "" ) ;
0 commit comments