You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/__snapshots__/validate-options.test.js.snap
+2-11Lines changed: 2 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -28,23 +28,14 @@ exports[`validate options should throw an error on the "import" option with "tru
28
28
* options.import should be an instance of function."
29
29
`;
30
30
31
-
exports[`validate options should throw an error on the "importLoaders" option with "1" value 1`] =`
32
-
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
33
-
- options.importLoaders should be one of these:
34
-
boolean | integer
35
-
-> Enables/Disables or setups number of loaders applied before CSS loader (https://github.com/webpack-contrib/css-loader#importloaders).
36
-
Details:
37
-
* options.importLoaders should be a boolean.
38
-
* options.importLoaders should be a integer."
39
-
`;
40
-
41
31
exports[`validate options should throw an error on the "importLoaders" option with "2.5" value 1`] =`
42
32
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
43
33
- options.importLoaders should be one of these:
44
-
boolean | integer
34
+
boolean | string | integer
45
35
-> Enables/Disables or setups number of loaders applied before CSS loader (https://github.com/webpack-contrib/css-loader#importloaders).
0 commit comments