|
| 1 | +// Jest Snapshot v1, https://goo.gl/fbAQLP |
| 2 | + |
| 3 | +exports[`validate options 1`] = ` |
| 4 | +"Invalid options object. Sass Loader has been initialised using an options object that does not match the API schema. |
| 5 | + - options.sassOptions should be one of these: |
| 6 | + object { … } | function |
| 7 | + -> Options for \`node-sass\` or \`sass\` (\`Dart Sass\`) implementation. (https://github.com/webpack-contrib/sass-loader#implementation). |
| 8 | + Details: |
| 9 | + * options.sassOptions should be an object: |
| 10 | + object { … } |
| 11 | + * options.sassOptions should be an instance of function." |
| 12 | +`; |
| 13 | + |
| 14 | +exports[`validate options 2`] = ` |
| 15 | +"Invalid options object. Sass Loader has been initialised using an options object that does not match the API schema. |
| 16 | + - options.prependData should be one of these: |
| 17 | + string | function |
| 18 | + -> Prepends \`Sass\`/\`SCSS\` code before the actual entry file (https://github.com/webpack-contrib/sass-loader#prependdata). |
| 19 | + Details: |
| 20 | + * options.prependData should be a string. |
| 21 | + * options.prependData should be an instance of function." |
| 22 | +`; |
| 23 | + |
| 24 | +exports[`validate options 3`] = ` |
| 25 | +"Invalid options object. Sass Loader has been initialised using an options object that does not match the API schema. |
| 26 | + - options.webpackImporter should be a boolean. |
| 27 | + -> Enables/Disables default \`webpack\` importer (https://github.com/webpack-contrib/sass-loader#webpackimporter)." |
| 28 | +`; |
| 29 | + |
| 30 | +exports[`validate options 4`] = ` |
| 31 | +"Invalid options object. Sass Loader has been initialised using an options object that does not match the API schema. |
| 32 | + - options has an unknown property 'unknown'. These properties are valid: |
| 33 | + object { implementation?, sassOptions?, prependData?, sourceMap?, webpackImporter? }" |
| 34 | +`; |
0 commit comments