|
| 1 | +// Jest Snapshot v1, https://goo.gl/fbAQLP |
| 2 | + |
| 3 | +exports[`validation 1`] = ` |
| 4 | +"Invalid options object. Cssnano webpack plugin has been initialized using an options object that does not match the API schema. |
| 5 | + - options.test should be one of these: |
| 6 | + [RegExp | non-empty string, ...] | RegExp | non-empty string |
| 7 | + -> Filtering rules. |
| 8 | + Details: |
| 9 | + * options.test should be an array: |
| 10 | + [RegExp | non-empty string, ...] |
| 11 | + * options.test should be one of these: |
| 12 | + RegExp | non-empty string |
| 13 | + -> Filtering rule as regex or string. |
| 14 | + Details: |
| 15 | + * options.test should be an instance of RegExp. |
| 16 | + * options.test should be a non-empty string." |
| 17 | +`; |
| 18 | + |
| 19 | +exports[`validation 2`] = ` |
| 20 | +"Invalid options object. Cssnano webpack plugin has been initialized using an options object that does not match the API schema. |
| 21 | + - options.test should be one of these: |
| 22 | + [RegExp | non-empty string, ...] | RegExp | non-empty string |
| 23 | + -> Filtering rules. |
| 24 | + Details: |
| 25 | + * options.test[0] should be one of these: |
| 26 | + RegExp | non-empty string |
| 27 | + -> Filtering rule as regex or string. |
| 28 | + Details: |
| 29 | + * options.test[0] should be an instance of RegExp. |
| 30 | + * options.test[0] should be a non-empty string." |
| 31 | +`; |
| 32 | + |
| 33 | +exports[`validation 3`] = ` |
| 34 | +"Invalid options object. Cssnano webpack plugin has been initialized using an options object that does not match the API schema. |
| 35 | + - options.include should be one of these: |
| 36 | + [RegExp | non-empty string, ...] | RegExp | non-empty string |
| 37 | + -> Filtering rules. |
| 38 | + Details: |
| 39 | + * options.include should be an array: |
| 40 | + [RegExp | non-empty string, ...] |
| 41 | + * options.include should be one of these: |
| 42 | + RegExp | non-empty string |
| 43 | + -> Filtering rule as regex or string. |
| 44 | + Details: |
| 45 | + * options.include should be an instance of RegExp. |
| 46 | + * options.include should be a non-empty string." |
| 47 | +`; |
| 48 | + |
| 49 | +exports[`validation 4`] = ` |
| 50 | +"Invalid options object. Cssnano webpack plugin has been initialized using an options object that does not match the API schema. |
| 51 | + - options.include should be one of these: |
| 52 | + [RegExp | non-empty string, ...] | RegExp | non-empty string |
| 53 | + -> Filtering rules. |
| 54 | + Details: |
| 55 | + * options.include[0] should be one of these: |
| 56 | + RegExp | non-empty string |
| 57 | + -> Filtering rule as regex or string. |
| 58 | + Details: |
| 59 | + * options.include[0] should be an instance of RegExp. |
| 60 | + * options.include[0] should be a non-empty string." |
| 61 | +`; |
| 62 | + |
| 63 | +exports[`validation 5`] = ` |
| 64 | +"Invalid options object. Cssnano webpack plugin has been initialized using an options object that does not match the API schema. |
| 65 | + - options.exclude should be one of these: |
| 66 | + [RegExp | non-empty string, ...] | RegExp | non-empty string |
| 67 | + -> Filtering rules. |
| 68 | + Details: |
| 69 | + * options.exclude should be an array: |
| 70 | + [RegExp | non-empty string, ...] |
| 71 | + * options.exclude should be one of these: |
| 72 | + RegExp | non-empty string |
| 73 | + -> Filtering rule as regex or string. |
| 74 | + Details: |
| 75 | + * options.exclude should be an instance of RegExp. |
| 76 | + * options.exclude should be a non-empty string." |
| 77 | +`; |
| 78 | + |
| 79 | +exports[`validation 6`] = ` |
| 80 | +"Invalid options object. Cssnano webpack plugin has been initialized using an options object that does not match the API schema. |
| 81 | + - options.exclude should be one of these: |
| 82 | + [RegExp | non-empty string, ...] | RegExp | non-empty string |
| 83 | + -> Filtering rules. |
| 84 | + Details: |
| 85 | + * options.exclude[0] should be one of these: |
| 86 | + RegExp | non-empty string |
| 87 | + -> Filtering rule as regex or string. |
| 88 | + Details: |
| 89 | + * options.exclude[0] should be an instance of RegExp. |
| 90 | + * options.exclude[0] should be a non-empty string." |
| 91 | +`; |
| 92 | + |
| 93 | +exports[`validation 7`] = ` |
| 94 | +"Invalid options object. Cssnano webpack plugin has been initialized using an options object that does not match the API schema. |
| 95 | + - options.sourceMap should be one of these: |
| 96 | + object { … } | boolean |
| 97 | + -> Enables/Disables generation of source maps. |
| 98 | + Details: |
| 99 | + * options.sourceMap should be an object: |
| 100 | + object { … } |
| 101 | + -> Options for source map. |
| 102 | + * options.sourceMap should be a boolean." |
| 103 | +`; |
| 104 | + |
| 105 | +exports[`validation 8`] = ` |
| 106 | +"Invalid options object. Cssnano webpack plugin has been initialized using an options object that does not match the API schema. |
| 107 | + - options.cssnanoOptions should be an object: |
| 108 | + object { … } |
| 109 | + -> Options for \`cssnanoOptions\`." |
| 110 | +`; |
| 111 | + |
| 112 | +exports[`validation 9`] = ` |
| 113 | +"Invalid options object. Cssnano webpack plugin has been initialized using an options object that does not match the API schema. |
| 114 | + - options has an unknown property 'unknown'. These properties are valid: |
| 115 | + object { test?, include?, exclude?, sourceMap?, cssnanoOptions? }" |
| 116 | +`; |
0 commit comments