File tree Expand file tree Collapse file tree 3 files changed +4
-0
lines changed
Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 11node_modules /
2+ .idea /*
23.nyc_output /
34coverage /
45* .log
Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ export default Joi.object({
4646 Joi . array ( ) ,
4747 Joi . string ( ) ,
4848 ] ,
49+ setup : Joi . func ( ) . arity ( 1 ) ,
4950 staticOptions : Joi . object ( ) ,
5051 headers : Joi . object ( ) ,
5152} )
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ const validModuleConfigs = [
4040 { input : { noInfo : true } } ,
4141 { input : { proxy : { } } } ,
4242 { input : { proxy : [ ] } } ,
43+ { input : { setup : ( a ) => { } } } , // eslint-disable-line
4344 { input : { staticOptions : { } } } ,
4445 { input : { headers : { } } } ,
4546 { input : { localAddress : '1.2.3.4:30' } } ,
@@ -53,6 +54,7 @@ const invalidModuleConfigs = [
5354 { input : { stats : true } } ,
5455 { input : { stats : 'foobar' } } ,
5556 { input : { proxy : true } } ,
57+ { input : { setup : ( a , b ) => { } } } , // eslint-disable-line
5658 { input : { localAddress : '1.2.3.4' } } ,
5759 { input : { logLevel : 'insane' } } ,
5860]
You can’t perform that action at this time.
0 commit comments