File tree 1 file changed +5
-5
lines changed
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', () => {
181
181
} ) ;
182
182
183
183
test ( 'when help requested then context.error is false' , ( ) => {
184
- let context = { } ;
184
+ let context ;
185
185
const program = new commander . Command ( ) ;
186
186
program
187
187
. exitOverride ( )
@@ -193,7 +193,7 @@ describe('context checks with full parse', () => {
193
193
} ) ;
194
194
195
195
test ( 'when help for error then context.error is true' , ( ) => {
196
- let context = { } ;
196
+ let context ;
197
197
const program = new commander . Command ( ) ;
198
198
program
199
199
. exitOverride ( )
@@ -206,7 +206,7 @@ describe('context checks with full parse', () => {
206
206
} ) ;
207
207
208
208
test ( 'when help on program then context.command is program' , ( ) => {
209
- let context = { } ;
209
+ let context ;
210
210
const program = new commander . Command ( ) ;
211
211
program
212
212
. exitOverride ( )
@@ -218,7 +218,7 @@ describe('context checks with full parse', () => {
218
218
} ) ;
219
219
220
220
test ( 'when help on subcommand and "before" subcommand then context.command is subcommand' , ( ) => {
221
- let context = { } ;
221
+ let context ;
222
222
const program = new commander . Command ( ) ;
223
223
program
224
224
. exitOverride ( ) ;
@@ -231,7 +231,7 @@ describe('context checks with full parse', () => {
231
231
} ) ;
232
232
233
233
test ( 'when help on subcommand and "beforeAll" on program then context.command is subcommand' , ( ) => {
234
- let context = { } ;
234
+ let context ;
235
235
const program = new commander . Command ( ) ;
236
236
program
237
237
. exitOverride ( )
You can’t perform that action at this time.
0 commit comments