22
33exports [` validate options should throw an error on the "exposes" option with "" value 1` ] = `
44"Invalid options object. Expose Loader has been initialized using an options object that does not match the API schema.
5- - options.exposes should be an non-empty string."
5+ - options.exposes should be a non-empty string."
66` ;
77
88exports [` validate options should throw an error on the "exposes" option with "/test/" value 1` ] = `
99"Invalid options object. Expose Loader has been initialized using an options object that does not match the API schema.
1010 - options.exposes misses the property 'globalName'. Should be:
1111 non-empty string | [non-empty string, ...] (should not have fewer than 1 item)
12- -> The name in the global object."
12+ -> The name in the global object.
13+ -> Read more at https://github.com/webpack-contrib/expose-loader#globalname"
1314` ;
1415
1516exports [` validate options should throw an error on the "exposes" option with "[""]" value 1` ] = `
1617"Invalid options object. Expose Loader has been initialized using an options object that does not match the API schema.
17- - options.exposes[0] should be an non-empty string."
18+ - options.exposes[0] should be a non-empty string."
1819` ;
1920
2021exports [` validate options should throw an error on the "exposes" option with "[]" value 1` ] = `
2122"Invalid options object. Expose Loader has been initialized using an options object that does not match the API schema.
22- - options.exposes should be an non-empty array."
23+ - options.exposes should be a non-empty array."
2324` ;
2425
2526exports [` validate options should throw an error on the "exposes" option with "{ " globalName" :true } " value 1` ] = `
2627"Invalid options object. Expose Loader has been initialized using an options object that does not match the API schema.
2728 - options.exposes should be one of these:
2829 non-empty string | object { globalName , moduleLocalName ? , override ? } | [non - empty string | object { globalName , moduleLocalName?, override? }, ... ] (should not have fewer than 1 item )
2930 - > List of exposes .
31+ - > Read more at https : // github.com/webpack-contrib/expose-loader#exposes
3032 Details :
3133 * options .exposes .globalName should be one of these :
3234 non - empty string | [non - empty string , ... ] (should not have fewer than 1 item )
3335 - > The name in the global object .
36+ - > Read more at https :// github.com/webpack-contrib/expose-loader#globalname
3437 Details :
3538 * options .exposes .globalName should be a non - empty string .
3639 * options .exposes .globalName should be an array :
@@ -46,21 +49,24 @@ exports[`validate options should throw an error on the "exposes" option with "{"
4649exports [` validate options should throw an error on the "exposes" option with "{ " override" :" test" } " value 1` ] = `
4750"Invalid options object. Expose Loader has been initialized using an options object that does not match the API schema.
4851 - options.exposes.override should be a boolean.
49- -> Configure loader to override the existing value in the global object."
52+ -> Configure loader to override the existing value in the global object.
53+ -> Read more at https://github.com/webpack-contrib/expose-loader#override"
5054` ;
5155
5256exports [` validate options should throw an error on the "exposes" option with "{ } " value 1` ] = `
5357"Invalid options object. Expose Loader has been initialized using an options object that does not match the API schema.
5458 - options.exposes misses the property 'globalName'. Should be:
5559 non-empty string | [non-empty string, ...] (should not have fewer than 1 item)
56- -> The name in the global object."
60+ -> The name in the global object.
61+ -> Read more at https://github.com/webpack-contrib/expose-loader#globalname"
5762` ;
5863
5964exports [` validate options should throw an error on the "exposes" option with "false" value 1` ] = `
6065"Invalid options object. Expose Loader has been initialized using an options object that does not match the API schema.
6166 - options.exposes should be one of these:
6267 non-empty string | object { globalName , moduleLocalName ? , override ? } | [non - empty string | object { globalName , moduleLocalName?, override? }, ... ] (should not have fewer than 1 item )
6368 - > List of exposes .
69+ - > Read more at https : // github.com/webpack-contrib/expose-loader#exposes
6470 Details :
6571 * options .exposes should be a non - empty string .
6672 * options .exposes should be an object :
@@ -74,6 +80,7 @@ exports[`validate options should throw an error on the "exposes" option with "tr
7480 - options.exposes should be one of these:
7581 non-empty string | object { globalName , moduleLocalName ? , override ? } | [non - empty string | object { globalName , moduleLocalName?, override? }, ... ] (should not have fewer than 1 item )
7682 - > List of exposes .
83+ - > Read more at https : // github.com/webpack-contrib/expose-loader#exposes
7784 Details :
7885 * options .exposes should be a non - empty string .
7986 * options .exposes should be an object :
@@ -86,54 +93,62 @@ exports[`validate options should throw an error on the "unknown" option with "/t
8693"Invalid options object. Expose Loader has been initialized using an options object that does not match the API schema.
8794 - options misses the property 'exposes'. Should be:
8895 non-empty string | object { globalName , moduleLocalName ? , override ? } | [non - empty string | object { globalName , moduleLocalName?, override? }, ... ] (should not have fewer than 1 item )
89- - > List of exposes ."
96+ - > List of exposes .
97+ - > Read more at https : // github.com/webpack-contrib/expose-loader#exposes"
9098` ;
9199
92100exports[` validate options should throw an error on the " unknown" option with " []" value 1 ` ] = `
93101" Invalid options object. Expose Loader has been initialized using an options object that does not match the API schema.
94102 - options misses the property ' exposes' . Should be :
95103 non - empty string | object { globalName , moduleLocalName?, override? } | [non - empty string | object { globalName , moduleLocalName?, override? }, ... ] (should not have fewer than 1 item )
96- - > List of exposes ."
104+ - > List of exposes .
105+ - > Read more at https :// github.com/webpack-contrib/expose-loader#exposes"
97106` ;
98107
99108exports[` validate options should throw an error on the " unknown" option with " {" foo " :" bar " }" value 1 ` ] = `
100109" Invalid options object. Expose Loader has been initialized using an options object that does not match the API schema.
101110 - options misses the property ' exposes' . Should be :
102111 non - empty string | object { globalName , moduleLocalName?, override? } | [non - empty string | object { globalName , moduleLocalName?, override? }, ... ] (should not have fewer than 1 item )
103- - > List of exposes ."
112+ - > List of exposes .
113+ - > Read more at https :// github.com/webpack-contrib/expose-loader#exposes"
104114` ;
105115
106116exports[` validate options should throw an error on the " unknown" option with " {}" value 1 ` ] = `
107117" Invalid options object. Expose Loader has been initialized using an options object that does not match the API schema.
108118 - options misses the property ' exposes' . Should be :
109119 non - empty string | object { globalName , moduleLocalName?, override? } | [non - empty string | object { globalName , moduleLocalName?, override? }, ... ] (should not have fewer than 1 item )
110- - > List of exposes ."
120+ - > List of exposes .
121+ - > Read more at https :// github.com/webpack-contrib/expose-loader#exposes"
111122` ;
112123
113124exports[` validate options should throw an error on the " unknown" option with " 1" value 1 ` ] = `
114125" Invalid options object. Expose Loader has been initialized using an options object that does not match the API schema.
115126 - options misses the property ' exposes' . Should be :
116127 non - empty string | object { globalName , moduleLocalName?, override? } | [non - empty string | object { globalName , moduleLocalName?, override? }, ... ] (should not have fewer than 1 item )
117- - > List of exposes ."
128+ - > List of exposes .
129+ - > Read more at https :// github.com/webpack-contrib/expose-loader#exposes"
118130` ;
119131
120132exports[` validate options should throw an error on the " unknown" option with " false" value 1 ` ] = `
121133" Invalid options object. Expose Loader has been initialized using an options object that does not match the API schema.
122134 - options misses the property ' exposes' . Should be :
123135 non - empty string | object { globalName , moduleLocalName?, override? } | [non - empty string | object { globalName , moduleLocalName?, override? }, ... ] (should not have fewer than 1 item )
124- - > List of exposes ."
136+ - > List of exposes .
137+ - > Read more at https :// github.com/webpack-contrib/expose-loader#exposes"
125138` ;
126139
127140exports[` validate options should throw an error on the " unknown" option with " test" value 1 ` ] = `
128141" Invalid options object. Expose Loader has been initialized using an options object that does not match the API schema.
129142 - options misses the property ' exposes' . Should be :
130143 non - empty string | object { globalName , moduleLocalName?, override? } | [non - empty string | object { globalName , moduleLocalName?, override? }, ... ] (should not have fewer than 1 item )
131- - > List of exposes ."
144+ - > List of exposes .
145+ - > Read more at https :// github.com/webpack-contrib/expose-loader#exposes"
132146` ;
133147
134148exports[` validate options should throw an error on the " unknown" option with " true" value 1 ` ] = `
135149" Invalid options object. Expose Loader has been initialized using an options object that does not match the API schema.
136150 - options misses the property ' exposes' . Should be :
137151 non - empty string | object { globalName , moduleLocalName?, override? } | [non - empty string | object { globalName , moduleLocalName?, override? }, ... ] (should not have fewer than 1 item )
138- - > List of exposes ."
152+ - > List of exposes .
153+ - > Read more at https :// github.com/webpack-contrib/expose-loader#exposes"
139154` ;
0 commit comments