1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
1
+ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
2
3
3
exports [` "minify" option should work and allow to return errors and warnings from custom function: assets 1` ] = `
4
4
{
@@ -15,8 +15,6 @@ Error 1",
15
15
"Error: foo.css from Css Minimizer plugin
16
16
Error: Error 2",
17
17
"ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
18
- Deprecation The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.",
19
- "ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
20
18
Deprecation Warning on line 0, column 8 of file:///test/fixtures/sourcemap/foo.scss:0:8:",
21
19
"Warning: foo.css from Css Minimizer plugin
22
20
Warning 1",
@@ -57,8 +55,6 @@ exports[`"minify" option should work if minify is array && minimizerOptions is a
57
55
exports [` "minify" option should work if minify is array && minimizerOptions is array: warning 1` ] = `
58
56
[
59
57
"ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
60
- Deprecation The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.",
61
- "ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
62
58
Deprecation Warning on line 0, column 8 of file:///test/fixtures/sourcemap/foo.scss:0:8:",
63
59
]
64
60
` ;
@@ -94,8 +90,6 @@ exports[`"minify" option should work if minify is array && minimizerOptions is o
94
90
exports [` "minify" option should work if minify is array && minimizerOptions is object: warning 1` ] = `
95
91
[
96
92
"ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
97
- Deprecation The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.",
98
- "ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
99
93
Deprecation Warning on line 0, column 8 of file:///test/fixtures/sourcemap/foo.scss:0:8:",
100
94
]
101
95
` ;
@@ -126,8 +120,6 @@ Error: minimizer function doesn't return the 'code' property or result is not a
126
120
exports [` "minify" option should work throw an error if minimizer function doesn't return #2: warning 1` ] = `
127
121
[
128
122
"ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
129
- Deprecation The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.",
130
- "ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
131
123
Deprecation Warning on line 0, column 8 of file:///test/fixtures/sourcemap/foo.scss:0:8:",
132
124
]
133
125
` ;
@@ -158,8 +150,6 @@ Error: minimizer function doesn't return the 'code' property or result is not a
158
150
exports [` "minify" option should work throw an error if minimizer function doesn't return: warning 1` ] = `
159
151
[
160
152
"ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
161
- Deprecation The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.",
162
- "ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
163
153
Deprecation Warning on line 0, column 8 of file:///test/fixtures/sourcemap/foo.scss:0:8:",
164
154
]
165
155
` ;
@@ -177,8 +167,6 @@ exports[`"minify" option should work with "CssMinimizerPlugin.cleanCssMinify" mi
177
167
exports [` "minify" option should work with "CssMinimizerPlugin.cleanCssMinify" minifier and generate source maps #2: warning 1` ] = `
178
168
[
179
169
"ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
180
- Deprecation The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.",
181
- "ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
182
170
Deprecation Warning on line 0, column 8 of file:///test/fixtures/sourcemap/foo.scss:0:8:",
183
171
]
184
172
` ;
@@ -218,8 +206,6 @@ exports[`"minify" option should work with "CssMinimizerPlugin.cssnanoMinify" min
218
206
exports [` "minify" option should work with "CssMinimizerPlugin.cssnanoMinify" minifier and generate source maps #2: warning 1` ] = `
219
207
[
220
208
"ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
221
- Deprecation The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.",
222
- "ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
223
209
Deprecation Warning on line 0, column 8 of file:///test/fixtures/sourcemap/foo.scss:0:8:",
224
210
]
225
211
` ;
@@ -237,8 +223,6 @@ exports[`"minify" option should work with "CssMinimizerPlugin.cssnanoMinify" min
237
223
exports [` "minify" option should work with "CssMinimizerPlugin.cssnanoMinify" minifier and generate source maps: warning 1` ] = `
238
224
[
239
225
"ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
240
- Deprecation The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.",
241
- "ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
242
226
Deprecation Warning on line 0, column 8 of file:///test/fixtures/sourcemap/foo.scss:0:8:",
243
227
]
244
228
` ;
@@ -258,8 +242,6 @@ exports[`"minify" option should work with "CssMinimizerPlugin.cssnanoMinify" min
258
242
exports [` "minify" option should work with "CssMinimizerPlugin.cssnanoMinify" minifier: warning 1` ] = `
259
243
[
260
244
"ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
261
- Deprecation The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.",
262
- "ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
263
245
Deprecation Warning on line 0, column 8 of file:///test/fixtures/sourcemap/foo.scss:0:8:",
264
246
]
265
247
` ;
@@ -299,8 +281,6 @@ exports[`"minify" option should work with "CssMinimizerPlugin.cssoMinify" minifi
299
281
exports [` "minify" option should work with "CssMinimizerPlugin.cssoMinify" minifier and generate source map: warning 1` ] = `
300
282
[
301
283
"ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
302
- Deprecation The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.",
303
- "ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
304
284
Deprecation Warning on line 0, column 8 of file:///test/fixtures/sourcemap/foo.scss:0:8:",
305
285
]
306
286
` ;
@@ -318,8 +298,6 @@ exports[`"minify" option should work with "CssMinimizerPlugin.cssoMinify" minifi
318
298
exports [` "minify" option should work with "CssMinimizerPlugin.cssoMinify" minifier and generate source maps #2: warning 1` ] = `
319
299
[
320
300
"ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
321
- Deprecation The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.",
322
- "ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
323
301
Deprecation Warning on line 0, column 8 of file:///test/fixtures/sourcemap/foo.scss:0:8:",
324
302
]
325
303
` ;
@@ -335,8 +313,6 @@ exports[`"minify" option should work with "CssMinimizerPlugin.cssoMinify" minifi
335
313
exports [` "minify" option should work with "CssMinimizerPlugin.cssoMinify" minifier: warning 1` ] = `
336
314
[
337
315
"ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
338
- Deprecation The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.",
339
- "ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
340
316
Deprecation Warning on line 0, column 8 of file:///test/fixtures/sourcemap/foo.scss:0:8:",
341
317
]
342
318
` ;
@@ -373,8 +349,6 @@ exports[`"minify" option should work with "CssMinimizerPlugin.esbuildMinify" min
373
349
exports [` "minify" option should work with "CssMinimizerPlugin.esbuildMinify" minifier and generate source maps #2: warning 1` ] = `
374
350
[
375
351
"ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
376
- Deprecation The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.",
377
- "ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
378
352
Deprecation Warning on line 0, column 8 of file:///test/fixtures/sourcemap/foo.scss:0:8:",
379
353
]
380
354
` ;
@@ -404,8 +378,6 @@ exports[`"minify" option should work with "CssMinimizerPlugin.esbuildMinify" min
404
378
exports [` "minify" option should work with "CssMinimizerPlugin.esbuildMinify" minifier: warning 1` ] = `
405
379
[
406
380
"ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
407
- Deprecation The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.",
408
- "ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
409
381
Deprecation Warning on line 0, column 8 of file:///test/fixtures/sourcemap/foo.scss:0:8:",
410
382
]
411
383
` ;
@@ -423,8 +395,6 @@ exports[`"minify" option should work with "CssMinimizerPlugin.lightningCssMinify
423
395
exports [` "minify" option should work with "CssMinimizerPlugin.lightningCssMinify" minifier and generate source maps #2: warning 1` ] = `
424
396
[
425
397
"ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
426
- Deprecation The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.",
427
- "ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
428
398
Deprecation Warning on line 0, column 8 of file:///test/fixtures/sourcemap/foo.scss:0:8:",
429
399
]
430
400
` ;
@@ -442,8 +412,6 @@ exports[`"minify" option should work with "CssMinimizerPlugin.lightningCssMinify
442
412
exports [` "minify" option should work with "CssMinimizerPlugin.lightningCssMinify" minifier and generate source maps: warning 1` ] = `
443
413
[
444
414
"ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
445
- Deprecation The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.",
446
- "ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
447
415
Deprecation Warning on line 0, column 8 of file:///test/fixtures/sourcemap/foo.scss:0:8:",
448
416
]
449
417
` ;
@@ -469,8 +437,6 @@ exports[`"minify" option should work with "CssMinimizerPlugin.lightningCssMinify
469
437
exports [` "minify" option should work with "CssMinimizerPlugin.lightningCssMinify" minifier: warning 1` ] = `
470
438
[
471
439
"ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
472
- Deprecation The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.",
473
- "ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
474
440
Deprecation Warning on line 0, column 8 of file:///test/fixtures/sourcemap/foo.scss:0:8:",
475
441
]
476
442
` ;
@@ -488,8 +454,6 @@ exports[`"minify" option should work with "CssMinimizerPlugin.parcelCssMinify" m
488
454
exports [` "minify" option should work with "CssMinimizerPlugin.parcelCssMinify" minifier and generate source maps #2: warning 1` ] = `
489
455
[
490
456
"ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
491
- Deprecation The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.",
492
- "ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
493
457
Deprecation Warning on line 0, column 8 of file:///test/fixtures/sourcemap/foo.scss:0:8:",
494
458
]
495
459
` ;
@@ -507,8 +471,6 @@ exports[`"minify" option should work with "CssMinimizerPlugin.parcelCssMinify" m
507
471
exports [` "minify" option should work with "CssMinimizerPlugin.parcelCssMinify" minifier and generate source maps: warning 1` ] = `
508
472
[
509
473
"ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
510
- Deprecation The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.",
511
- "ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
512
474
Deprecation Warning on line 0, column 8 of file:///test/fixtures/sourcemap/foo.scss:0:8:",
513
475
]
514
476
` ;
@@ -534,8 +496,6 @@ exports[`"minify" option should work with "CssMinimizerPlugin.parcelCssMinify" m
534
496
exports [` "minify" option should work with "CssMinimizerPlugin.parcelCssMinify" minifier: warning 1` ] = `
535
497
[
536
498
"ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
537
- Deprecation The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.",
538
- "ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
539
499
Deprecation Warning on line 0, column 8 of file:///test/fixtures/sourcemap/foo.scss:0:8:",
540
500
]
541
501
` ;
@@ -553,8 +513,6 @@ exports[`"minify" option should work with "CssMinimizerPlugin.swcMinify" minifie
553
513
exports [` "minify" option should work with "CssMinimizerPlugin.swcMinify" minifier and generate source maps #2: warning 1` ] = `
554
514
[
555
515
"ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
556
- Deprecation The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.",
557
- "ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
558
516
Deprecation Warning on line 0, column 8 of file:///test/fixtures/sourcemap/foo.scss:0:8:",
559
517
]
560
518
` ;
@@ -572,8 +530,6 @@ exports[`"minify" option should work with "CssMinimizerPlugin.swcMinify" minifie
572
530
exports [` "minify" option should work with "CssMinimizerPlugin.swcMinify" minifier and generate source maps: warning 1` ] = `
573
531
[
574
532
"ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
575
- Deprecation The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.",
576
- "ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
577
533
Deprecation Warning on line 0, column 8 of file:///test/fixtures/sourcemap/foo.scss:0:8:",
578
534
]
579
535
` ;
@@ -599,8 +555,6 @@ exports[`"minify" option should work with "CssMinimizerPlugin.swcMinify" minifie
599
555
exports [` "minify" option should work with "CssMinimizerPlugin.swcMinify" minifier: warning 1` ] = `
600
556
[
601
557
"ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
602
- Deprecation The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.",
603
- "ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
604
558
Deprecation Warning on line 0, column 8 of file:///test/fixtures/sourcemap/foo.scss:0:8:",
605
559
]
606
560
` ;
@@ -628,8 +582,6 @@ exports[`"minify" option should work with "csso" minifier: error 1`] = `[]`;
628
582
exports [` "minify" option should work with "csso" minifier: warning 1` ] = `
629
583
[
630
584
"ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
631
- Deprecation The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.",
632
- "ModuleWarning: Module Warning (from ../../node_modules/sass-loader/dist/cjs.js):
633
585
Deprecation Warning on line 0, column 8 of file:///test/fixtures/sourcemap/foo.scss:0:8:",
634
586
]
635
587
` ;
0 commit comments