Skip to content

Commit

Permalink
test: update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed Sep 3, 2021
1 parent f0c1f1b commit 854a8e6
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions test/__snapshots__/validate-options.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ exports[`validate options should throw an error on the "esModule" option with "t
-> Read more at https://github.com/webpack-contrib/css-loader#esmodule"
`;

exports[`validate options should throw an error on the "exportStylesheet" option with "true" value 1`] = `
exports[`validate options should throw an error on the "exportStyleSheet" option with "true" value 1`] = `
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
- options.exportStylesheet should be a boolean.
-> Exports style as constructable stylesheets (i.e. \`import sheet from './styles.css' assert { type: 'css' };\`).
- options.exportStyleSheet should be a boolean.
-> Exports styles as constructable stylesheets (i.e. \`import sheet from './styles.css' assert { type: 'css' };\`).
-> Read more at https://github.com/webpack-contrib/css-loader#exportstylesheet"
`;

Expand Down Expand Up @@ -306,49 +306,49 @@ exports[`validate options should throw an error on the "sourceMap" option with "
exports[`validate options should throw an error on the "unknown" option with "/test/" value 1`] = `
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
- options has an unknown property 'unknown'. These properties are valid:
object { url?, import?, modules?, sourceMap?, importLoaders?, esModule?, exportStylesheet? }"
object { url?, import?, modules?, sourceMap?, importLoaders?, esModule?, exportStyleSheet? }"
`;
exports[`validate options should throw an error on the "unknown" option with "[]" value 1`] = `
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
- options has an unknown property 'unknown'. These properties are valid:
object { url?, import?, modules?, sourceMap?, importLoaders?, esModule?, exportStylesheet? }"
object { url?, import?, modules?, sourceMap?, importLoaders?, esModule?, exportStyleSheet? }"
`;
exports[`validate options should throw an error on the "unknown" option with "{"foo":"bar"}" value 1`] = `
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
- options has an unknown property 'unknown'. These properties are valid:
object { url?, import?, modules?, sourceMap?, importLoaders?, esModule?, exportStylesheet? }"
object { url?, import?, modules?, sourceMap?, importLoaders?, esModule?, exportStyleSheet? }"
`;
exports[`validate options should throw an error on the "unknown" option with "{}" value 1`] = `
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
- options has an unknown property 'unknown'. These properties are valid:
object { url?, import?, modules?, sourceMap?, importLoaders?, esModule?, exportStylesheet? }"
object { url?, import?, modules?, sourceMap?, importLoaders?, esModule?, exportStyleSheet? }"
`;
exports[`validate options should throw an error on the "unknown" option with "1" value 1`] = `
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
- options has an unknown property 'unknown'. These properties are valid:
object { url?, import?, modules?, sourceMap?, importLoaders?, esModule?, exportStylesheet? }"
object { url?, import?, modules?, sourceMap?, importLoaders?, esModule?, exportStyleSheet? }"
`;
exports[`validate options should throw an error on the "unknown" option with "false" value 1`] = `
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
- options has an unknown property 'unknown'. These properties are valid:
object { url?, import?, modules?, sourceMap?, importLoaders?, esModule?, exportStylesheet? }"
object { url?, import?, modules?, sourceMap?, importLoaders?, esModule?, exportStyleSheet? }"
`;
exports[`validate options should throw an error on the "unknown" option with "test" value 1`] = `
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
- options has an unknown property 'unknown'. These properties are valid:
object { url?, import?, modules?, sourceMap?, importLoaders?, esModule?, exportStylesheet? }"
object { url?, import?, modules?, sourceMap?, importLoaders?, esModule?, exportStyleSheet? }"
`;
exports[`validate options should throw an error on the "unknown" option with "true" value 1`] = `
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
- options has an unknown property 'unknown'. These properties are valid:
object { url?, import?, modules?, sourceMap?, importLoaders?, esModule?, exportStylesheet? }"
object { url?, import?, modules?, sourceMap?, importLoaders?, esModule?, exportStyleSheet? }"
`;
exports[`validate options should throw an error on the "url" option with "() => {}" value 1`] = `
Expand Down

0 comments on commit 854a8e6

Please sign in to comment.