@@ -95,3 +95,51 @@ exports[`validate options should throw an error on the "linkType" option with "i
95
95
* options.linkType should be \\"text/css\\".
96
96
* options.linkType should be a boolean."
97
97
`;
98
+
99
+ exports[`validate options should throw an error on the "unknown" option with "/test/" value 1`] = `
100
+ "Invalid options object. Mini CSS Extract Plugin has been initialized using an options object that does not match the API schema.
101
+ - options has an unknown property 'unknown'. These properties are valid:
102
+ object { filename ? , chunkFilename ? , ignoreOrder ? , insert ? , attributes ? , linkType ? }"
103
+ `;
104
+
105
+ exports [` validate options should throw an error on the "unknown" option with "[]" value 1` ] = `
106
+ "Invalid options object. Mini CSS Extract Plugin has been initialized using an options object that does not match the API schema.
107
+ - options has an unknown property 'unknown'. These properties are valid:
108
+ object { filename ? , chunkFilename ? , ignoreOrder ? , insert ? , attributes ? , linkType ? }"
109
+ `;
110
+
111
+ exports [` validate options should throw an error on the "unknown" option with "{ " foo" :" bar" } " value 1` ] = `
112
+ "Invalid options object. Mini CSS Extract Plugin has been initialized using an options object that does not match the API schema.
113
+ - options has an unknown property 'unknown'. These properties are valid:
114
+ object { filename ? , chunkFilename ? , ignoreOrder ? , insert ? , attributes ? , linkType ? }"
115
+ `;
116
+
117
+ exports [` validate options should throw an error on the "unknown" option with "{ } " value 1` ] = `
118
+ "Invalid options object. Mini CSS Extract Plugin has been initialized using an options object that does not match the API schema.
119
+ - options has an unknown property 'unknown'. These properties are valid:
120
+ object { filename ? , chunkFilename ? , ignoreOrder ? , insert ? , attributes ? , linkType ? }"
121
+ `;
122
+
123
+ exports [` validate options should throw an error on the "unknown" option with "1" value 1` ] = `
124
+ "Invalid options object. Mini CSS Extract Plugin has been initialized using an options object that does not match the API schema.
125
+ - options has an unknown property 'unknown'. These properties are valid:
126
+ object { filename ? , chunkFilename ? , ignoreOrder ? , insert ? , attributes ? , linkType ? }"
127
+ `;
128
+
129
+ exports [` validate options should throw an error on the "unknown" option with "false" value 1` ] = `
130
+ "Invalid options object. Mini CSS Extract Plugin has been initialized using an options object that does not match the API schema.
131
+ - options has an unknown property 'unknown'. These properties are valid:
132
+ object { filename ? , chunkFilename ? , ignoreOrder ? , insert ? , attributes ? , linkType ? }"
133
+ `;
134
+
135
+ exports [` validate options should throw an error on the "unknown" option with "test" value 1` ] = `
136
+ "Invalid options object. Mini CSS Extract Plugin has been initialized using an options object that does not match the API schema.
137
+ - options has an unknown property 'unknown'. These properties are valid:
138
+ object { filename ? , chunkFilename ? , ignoreOrder ? , insert ? , attributes ? , linkType ? }"
139
+ `;
140
+
141
+ exports [` validate options should throw an error on the "unknown" option with "true" value 1` ] = `
142
+ "Invalid options object. Mini CSS Extract Plugin has been initialized using an options object that does not match the API schema.
143
+ - options has an unknown property 'unknown'. These properties are valid:
144
+ object { filename ? , chunkFilename ? , ignoreOrder ? , insert ? , attributes ? , linkType ? }"
145
+ `;
0 commit comments