File tree 3 files changed +4
-0
lines changed
3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 1
1
node_modules /
2
+ .idea /*
2
3
.nyc_output /
3
4
coverage /
4
5
* .log
Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ export default Joi.object({
46
46
Joi . array ( ) ,
47
47
Joi . string ( ) ,
48
48
] ,
49
+ setup : Joi . func ( ) . arity ( 1 ) ,
49
50
staticOptions : Joi . object ( ) ,
50
51
headers : Joi . object ( ) ,
51
52
} )
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ const validModuleConfigs = [
40
40
{ input : { noInfo : true } } ,
41
41
{ input : { proxy : { } } } ,
42
42
{ input : { proxy : [ ] } } ,
43
+ { input : { setup : ( a ) => { } } } , // eslint-disable-line
43
44
{ input : { staticOptions : { } } } ,
44
45
{ input : { headers : { } } } ,
45
46
{ input : { localAddress : '1.2.3.4:30' } } ,
@@ -53,6 +54,7 @@ const invalidModuleConfigs = [
53
54
{ input : { stats : true } } ,
54
55
{ input : { stats : 'foobar' } } ,
55
56
{ input : { proxy : true } } ,
57
+ { input : { setup : ( a , b ) => { } } } , // eslint-disable-line
56
58
{ input : { localAddress : '1.2.3.4' } } ,
57
59
{ input : { logLevel : 'insane' } } ,
58
60
]
You can’t perform that action at this time.
0 commit comments