From 854a8e6344d98df6f3226e8d4da25927104543a5 Mon Sep 17 00:00:00 2001 From: evilebottnawi Date: Fri, 3 Sep 2021 21:22:45 +0300 Subject: [PATCH] test: update snapshots --- .../validate-options.test.js.snap | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/test/__snapshots__/validate-options.test.js.snap b/test/__snapshots__/validate-options.test.js.snap index 9bf6914b..0b3775df 100644 --- a/test/__snapshots__/validate-options.test.js.snap +++ b/test/__snapshots__/validate-options.test.js.snap @@ -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" `; @@ -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`] = `