File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ describe('context checks with full parse', () => {
181181 } ) ;
182182
183183 test ( 'when help requested then context.error is false' , ( ) => {
184- let context = { } ;
184+ let context ;
185185 const program = new commander . Command ( ) ;
186186 program
187187 . exitOverride ( )
@@ -193,7 +193,7 @@ describe('context checks with full parse', () => {
193193 } ) ;
194194
195195 test ( 'when help for error then context.error is true' , ( ) => {
196- let context = { } ;
196+ let context ;
197197 const program = new commander . Command ( ) ;
198198 program
199199 . exitOverride ( )
@@ -206,7 +206,7 @@ describe('context checks with full parse', () => {
206206 } ) ;
207207
208208 test ( 'when help on program then context.command is program' , ( ) => {
209- let context = { } ;
209+ let context ;
210210 const program = new commander . Command ( ) ;
211211 program
212212 . exitOverride ( )
@@ -218,7 +218,7 @@ describe('context checks with full parse', () => {
218218 } ) ;
219219
220220 test ( 'when help on subcommand and "before" subcommand then context.command is subcommand' , ( ) => {
221- let context = { } ;
221+ let context ;
222222 const program = new commander . Command ( ) ;
223223 program
224224 . exitOverride ( ) ;
@@ -231,7 +231,7 @@ describe('context checks with full parse', () => {
231231 } ) ;
232232
233233 test ( 'when help on subcommand and "beforeAll" on program then context.command is subcommand' , ( ) => {
234- let context = { } ;
234+ let context ;
235235 const program = new commander . Command ( ) ;
236236 program
237237 . exitOverride ( )
You can’t perform that action at this time.
0 commit comments