|
1 | 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP |
2 | 2 |
|
3 | | -exports[`validation 1`] = ` |
4 | | -"URL Loader Invalid Options |
5 | | -
|
6 | | -options.limit should be boolean,number,string |
7 | | -" |
| 3 | +exports[`validate options 1`] = ` |
| 4 | +"Invalid options object. URL Loader has been initialised using an options object that does not match the API schema. |
| 5 | + - options.limit should be: |
| 6 | + boolean | number | string |
| 7 | + -> Enables/Disables transformation target file into base64 URIs (https://github.com/webpack-contrib/url-loader#limit)." |
8 | 8 | `; |
9 | 9 |
|
10 | | -exports[`validation 2`] = ` |
11 | | -"URL Loader Invalid Options |
12 | | -
|
13 | | -options.mimetype should be string |
14 | | -" |
| 10 | +exports[`validate options 2`] = ` |
| 11 | +"Invalid options object. URL Loader has been initialised using an options object that does not match the API schema. |
| 12 | + - options.mimetype should be a string. |
| 13 | + -> The MIME type for the file to be transformed (https://github.com/webpack-contrib/url-loader#mimetype)." |
15 | 14 | `; |
16 | 15 |
|
17 | | -exports[`validation 3`] = ` |
18 | | -"URL Loader Invalid Options |
19 | | -
|
20 | | -options.fallback should be string |
21 | | -options.fallback should be object |
22 | | -options.fallback should match some schema in anyOf |
23 | | -" |
| 16 | +exports[`validate options 3`] = ` |
| 17 | +"Invalid options object. URL Loader has been initialised using an options object that does not match the API schema. |
| 18 | + - options.fallback should be one of these: |
| 19 | + string | object { loader?, options? } |
| 20 | + -> An alternative loader to use when a target file's size exceeds the limit set in the limit option (https://github.com/webpack-contrib/url-loader#fallback). |
| 21 | + Details: |
| 22 | + * options.fallback should be a string. |
| 23 | + * options.fallback should be an object: |
| 24 | + object { loader?, options? }" |
24 | 25 | `; |
0 commit comments