@@ -19,6 +19,7 @@ describe('"sourceMap" option', () => {
1919 './css/index.js' ,
2020 {
2121 sourceMap : true ,
22+ postcssOptions : { hideNothingWarning : true } ,
2223 } ,
2324 {
2425 devtool : false ,
@@ -51,6 +52,7 @@ describe('"sourceMap" option', () => {
5152 './css/index.js' ,
5253 {
5354 sourceMap : true ,
55+ postcssOptions : { hideNothingWarning : true } ,
5456 } ,
5557 {
5658 devtool : 'source-map' ,
@@ -81,7 +83,9 @@ describe('"sourceMap" option', () => {
8183 it ( 'should generate source maps when value is not specified and the "devtool" with "source-map" value' , async ( ) => {
8284 const compiler = getCompiler (
8385 './css/index.js' ,
84- { } ,
86+ {
87+ postcssOptions : { hideNothingWarning : true } ,
88+ } ,
8589 {
8690 devtool : 'source-map' ,
8791 }
@@ -119,6 +123,7 @@ describe('"sourceMap" option', () => {
119123 prev : false ,
120124 sourcesContent : true ,
121125 } ,
126+ hideNothingWarning : true ,
122127 } ,
123128 } ,
124129 {
@@ -165,6 +170,7 @@ describe('"sourceMap" option', () => {
165170 options : {
166171 postcssOptions : {
167172 map : true ,
173+ hideNothingWarning : true ,
168174 } ,
169175 } ,
170176 } ,
@@ -228,6 +234,7 @@ describe('"sourceMap" option', () => {
228234 sourcesContent : true ,
229235 annotation : true ,
230236 } ,
237+ hideNothingWarning : true ,
231238 } ,
232239 } ,
233240 } ,
@@ -282,6 +289,7 @@ describe('"sourceMap" option', () => {
282289 './css/index.js' ,
283290 {
284291 sourceMap : false ,
292+ postcssOptions : { hideNothingWarning : true } ,
285293 } ,
286294 {
287295 devtool : false ,
@@ -301,6 +309,7 @@ describe('"sourceMap" option', () => {
301309 './css/index.js' ,
302310 {
303311 sourceMap : false ,
312+ postcssOptions : { hideNothingWarning : true } ,
304313 } ,
305314 {
306315 devtool : 'source-map' ,
@@ -318,7 +327,9 @@ describe('"sourceMap" option', () => {
318327 it ( 'should not generate source maps when value is not specified and the "devtool" option with "source-map" value' , async ( ) => {
319328 const compiler = getCompiler (
320329 './css/index.js' ,
321- { } ,
330+ {
331+ postcssOptions : { hideNothingWarning : true } ,
332+ } ,
322333 {
323334 devtool : false ,
324335 }
@@ -348,6 +359,9 @@ describe('"sourceMap" option', () => {
348359 } ,
349360 {
350361 loader : path . resolve ( __dirname , '../src' ) ,
362+ options : {
363+ postcssOptions : { hideNothingWarning : true } ,
364+ } ,
351365 } ,
352366 {
353367 loader : 'sass-loader' ,
@@ -387,9 +401,7 @@ describe('"sourceMap" option', () => {
387401 it ( 'should generate source maps when previous loader returns source maps ("less-loader")' , async ( ) => {
388402 const compiler = getCompiler (
389403 './less/index.js' ,
390- {
391- config : false ,
392- } ,
404+ { } ,
393405 {
394406 devtool : 'source-map' ,
395407 module : {
@@ -403,6 +415,9 @@ describe('"sourceMap" option', () => {
403415 } ,
404416 {
405417 loader : path . resolve ( __dirname , '../src' ) ,
418+ options : {
419+ postcssOptions : { hideNothingWarning : true } ,
420+ } ,
406421 } ,
407422 {
408423 loader : 'less-loader' ,
@@ -444,6 +459,7 @@ describe('"sourceMap" option', () => {
444459 inline : true ,
445460 annotation : false ,
446461 } ,
462+ hideNothingWarning : true ,
447463 } ,
448464 } ,
449465 {
@@ -467,6 +483,7 @@ describe('"sourceMap" option', () => {
467483 inline : true ,
468484 annotation : false ,
469485 } ,
486+ hideNothingWarning : true ,
470487 } ,
471488 } ,
472489 {
0 commit comments