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