11// Jest Snapshot v1, https://goo.gl/fbAQLP
22
3- exports [` source-map-loader should add only valid \` sources\` to dependencies: css 1` ] = `
3+ exports [` source-map-loader should add only valid \` sources\` to dependencies: code 1` ] = `
44"// Dependencies
55"
66` ;
@@ -37,7 +37,7 @@ Failed to parse source map from '/test/fixtures/data/not-found.txt' file: Error:
3737]
3838` ;
3939
40- exports [` source-map-loader should add only valid \` sources\` with \` sourceContent\` to dependencies: css 1` ] = `
40+ exports [` source-map-loader should add only valid \` sources\` with \` sourceContent\` to dependencies: code 1` ] = `
4141"// Dependencies
4242"
4343` ;
@@ -66,7 +66,7 @@ Object {
6666
6767exports [` source-map-loader should add only valid \` sources\` with \` sourceContent\` to dependencies: warnings 1` ] = ` Array []` ;
6868
69- exports [` source-map-loader should allow to filter warnings: css 1` ] = `
69+ exports [` source-map-loader should allow to filter warnings: code 1` ] = `
7070"without SourceMap
7171// @sourceMappingURL=data:application/source-map;base64,invalid/base64=
7272// comment"
@@ -81,7 +81,7 @@ Failed to parse source map from \\"data\\" URL: data:application/source-map;base
8181]
8282` ;
8383
84- exports [` source-map-loader should emit warning when unresolved server-relative-url-path: css 1` ] = `
84+ exports [` source-map-loader should emit warning when unresolved server-relative-url-path: code 1` ] = `
8585"with SourceMap
8686// #sourceMappingURL=/unresolved-server-relative-url-path.js.map
8787// comment
@@ -96,13 +96,13 @@ Array [
9696]
9797` ;
9898
99- exports [` source-map-loader should leave normal files untouched: css 1` ] = ` "without SourceMap"` ;
99+ exports [` source-map-loader should leave normal files untouched: code 1` ] = ` "without SourceMap"` ;
100100
101101exports [` source-map-loader should leave normal files untouched: errors 1` ] = ` Array []` ;
102102
103103exports [` source-map-loader should leave normal files untouched: warnings 1` ] = ` Array []` ;
104104
105- exports [` source-map-loader should leave normal files with fake source-map untouched: css 1` ] = `
105+ exports [` source-map-loader should leave normal files with fake source-map untouched: code 1` ] = `
106106"// without SourceMap
107107anInvalidDirective = \\ "\\\\ n/*# sourceMappingURL=data:application/json;base64,\\ "+btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))))+\\ " */\\ ";
108108// comment
@@ -113,7 +113,7 @@ exports[`source-map-loader should leave normal files with fake source-map untouc
113113
114114exports [` source-map-loader should leave normal files with fake source-map untouched: warnings 1` ] = ` Array []` ;
115115
116- exports [` source-map-loader should process css sourceMap: css 1` ] = `
116+ exports [` source-map-loader should process css sourceMap: code 1` ] = `
117117"* {
118118 box - sizing : border - box ; }
119119
@@ -138,7 +138,7 @@ exports[`source-map-loader should process css sourceMap: css 1`] = `
138138"
139139` ;
140140
141- exports [` source-map-loader should process css sourceMap: css 2` ] = `
141+ exports [` source-map-loader should process css sourceMap: code 2` ] = `
142142"// Skip SourcesContent in SourceMap
143143// comment
144144"
@@ -218,7 +218,7 @@ Failed to parse source map from '/test/fixtures/unresolved-file.js' file: Error:
218218]
219219` ;
220220
221- exports [` source-map-loader should process external SourceMaps (external sources): css 1` ] = `
221+ exports [` source-map-loader should process external SourceMaps (external sources): code 1` ] = `
222222"with SourceMap
223223// comment"
224224` ;
@@ -241,7 +241,7 @@ Object {
241241
242242exports [` source-map-loader should process external SourceMaps (external sources): warnings 1` ] = ` Array []` ;
243243
244- exports [` source-map-loader should process external SourceMaps: css 1` ] = `
244+ exports [` source-map-loader should process external SourceMaps: code 1` ] = `
245245"with SourceMap
246246// comment"
247247` ;
@@ -264,7 +264,7 @@ Object {
264264
265265exports [` source-map-loader should process external SourceMaps: warnings 1` ] = ` Array []` ;
266266
267- exports [` source-map-loader should process inlined SourceMaps with charset: css 1` ] = `
267+ exports [` source-map-loader should process inlined SourceMaps with charset: code 1` ] = `
268268"with SourceMap
269269// comment"
270270` ;
@@ -287,7 +287,7 @@ Object {
287287
288288exports [` source-map-loader should process inlined SourceMaps with charset: warnings 1` ] = ` Array []` ;
289289
290- exports [` source-map-loader should process inlined SourceMaps: css 1` ] = `
290+ exports [` source-map-loader should process inlined SourceMaps: code 1` ] = `
291291"with SourceMap
292292// comment"
293293` ;
@@ -310,7 +310,7 @@ Object {
310310
311311exports [` source-map-loader should process inlined SourceMaps: warnings 1` ] = ` Array []` ;
312312
313- exports [` source-map-loader should process inlined sources: css 1` ] = `
313+ exports [` source-map-loader should process inlined sources: code 1` ] = `
314314"// Inline Sources in SourceMap
315315// comment
316316"
@@ -334,7 +334,7 @@ Object {
334334
335335exports [` source-map-loader should process inlined sources: warnings 1` ] = ` Array []` ;
336336
337- exports [` source-map-loader should process null in sources content: css 1` ] = `
337+ exports [` source-map-loader should process null in sources content: code 1` ] = `
338338"with SourceMap
339339// comment
340340"
@@ -360,7 +360,7 @@ Object {
360360
361361exports [` source-map-loader should process null in sources content: warnings 1` ] = ` Array []` ;
362362
363- exports [` source-map-loader should process percent-encoding path: css 1` ] = `
363+ exports [` source-map-loader should process percent-encoding path: code 1` ] = `
364364"with SourceMap
365365// comment
366366"
@@ -370,7 +370,7 @@ exports[`source-map-loader should process percent-encoding path: errors 1`] = `A
370370
371371exports [` source-map-loader should process percent-encoding path: warnings 1` ] = ` Array []` ;
372372
373- exports [` source-map-loader should process protocol-relative-url-path: css 1` ] = `
373+ exports [` source-map-loader should process protocol-relative-url-path: code 1` ] = `
374374"// Some content
375375// # sourceMappingURL=//sampledomain.com/external-source-map2.map
376376// comment
@@ -386,7 +386,7 @@ Failed to parse source map: '//sampledomain.com/external-source-map2.map' URL is
386386]
387387` ;
388388
389- exports [` source-map-loader should process server-relative-url-path: css 1` ] = `
389+ exports [` source-map-loader should process server-relative-url-path: code 1` ] = `
390390"with SourceMap
391391// comment
392392"
@@ -413,7 +413,7 @@ Object {
413413
414414exports [` source-map-loader should process server-relative-url-path: warnings 1` ] = ` Array []` ;
415415
416- exports [` source-map-loader should reject http SourceMaps: css 1` ] = `
416+ exports [` source-map-loader should reject http SourceMaps: code 1` ] = `
417417"with SourceMap
418418//#sourceMappingURL=http://sampledomain.com/external-source-map2.map
419419// comment
@@ -433,7 +433,7 @@ exports[`source-map-loader should reject not exist file: SourceMaps: errors 1`]
433433
434434exports [` source-map-loader should reject not exist file: SourceMaps: warnings 1` ] = ` "TypeError [ERR_INVALID_FILE"` ;
435435
436- exports [` source-map-loader should reject not support url: css 1` ] = `
436+ exports [` source-map-loader should reject not support url: code 1` ] = `
437437"// with SourceMap
438438//#sourceMappingURL=ftp://exampleurl.com
439439// comment
@@ -449,7 +449,7 @@ Failed to parse source map: 'ftp://exampleurl.com' URL is not supported",
449449]
450450` ;
451451
452- exports [` source-map-loader should skip file protocol path if sourcesContent is set: css 1` ] = `
452+ exports [` source-map-loader should skip file protocol path if sourcesContent is set: code 1` ] = `
453453"// Some content
454454 "
455455` ;
@@ -471,7 +471,7 @@ Object {
471471
472472exports [` source-map-loader should skip file protocol path if sourcesContent is set: warnings 1` ] = ` Array []` ;
473473
474- exports [` source-map-loader should skip invalid base64 SourceMap: css 1` ] = `
474+ exports [` source-map-loader should skip invalid base64 SourceMap: code 1` ] = `
475475"without SourceMap
476476// @sourceMappingURL=data:application/source-map;base64,\\ "something invalid\\ "
477477// comment"
@@ -486,7 +486,7 @@ Failed to parse source map from 'data:application/source-map;base64,': SyntaxErr
486486]
487487` ;
488488
489- exports [` source-map-loader should skip webpack protocol path if sourcesContent is set: css 1` ] = `
489+ exports [` source-map-loader should skip webpack protocol path if sourcesContent is set: code 1` ] = `
490490"!function(e){ var t = {};function r(n ){if (t [n ])return t [n ].exports ;var o= t [n ]= {i:n ,l:! 1 ,exports:{}};return e [n ].call (o .exports ,o ,o .exports ,r ),o .l = ! 0 ,o .exports }r .m = e ,r .c = t ,r .d = function (e ,t ,n ){r .o (e ,t )|| Object .defineProperty (e ,t ,{enumerable:! 0 ,get:n })},r .r = function (e ){\\" undefined\\ " != typeof Symbol && Symbol .toStringTag && Object .defineProperty (e ,Symbol .toStringTag ,{value:\\" Module\\ " }),Object .defineProperty (e ,\\" __esModule\\ " ,{value:! 0 })},r .t = function (e ,t ){if (1 & t && (e = r (e )),8 & t )return e ;if (4 & t && \\" object\\ " == typeof e && e && e .__esModule )return e ;var n= Object .create (null );if (r .r (n ),Object .defineProperty (n ,\\" default\\ " ,{enumerable:! 0 ,value:e }),2 & t && \\" string\\ " != typeof e )for (var o in e )r .d (n ,o ,function (t ){return e [t ]}.bind (null ,o ));return n },r .n = function (e ){var t= e && e .__esModule ? function (){return e .default }: function (){return e };return r .d (t ,\\" a\\ " ,t ),t },r .o = function (e ,t ){return Object .prototype .hasOwnProperty .call (e ,t )},r .p = \\" \\ " ,r (r .s = 0 )} ([function(e,t,r){ \\" use strict\\ " ;r .r (t ),t .default = 3 } ]);
491491"
492492` ;
@@ -518,7 +518,7 @@ Object {
518518
519519exports [` source-map-loader should skip webpack protocol path if sourcesContent is set: warnings 1` ] = ` Array []` ;
520520
521- exports [` source-map-loader should support absolute paths to sourcemaps: css 1` ] = `
521+ exports [` source-map-loader should support absolute paths to sourcemaps: code 1` ] = `
522522"// Some content
523523 "
524524` ;
@@ -545,7 +545,7 @@ anInvalidDirective = \\"\\\\n/*# sourceMappingURL=data:application/json;base64,\
545545
546546exports [` source-map-loader should support absolute paths to sourcemaps: warnings 1` ] = ` Array []` ;
547547
548- exports [` source-map-loader should support absolute sourceRoot paths in sourcemaps: css 1` ] = `
548+ exports [` source-map-loader should support absolute sourceRoot paths in sourcemaps: code 1` ] = `
549549"with SourceMap
550550// comment"
551551` ;
@@ -569,7 +569,7 @@ Object {
569569
570570exports [` source-map-loader should support absolute sourceRoot paths in sourcemaps: warnings 1` ] = ` Array []` ;
571571
572- exports [` source-map-loader should support file protocol path: css 1` ] = `
572+ exports [` source-map-loader should support file protocol path: code 1` ] = `
573573"// Some content
574574 "
575575` ;
@@ -596,7 +596,7 @@ anInvalidDirective = \\"\\\\n/*# sourceMappingURL=data:application/json;base64,\
596596
597597exports [` source-map-loader should support file protocol path: warnings 1` ] = ` Array []` ;
598598
599- exports [` source-map-loader should support indexed sourcemaps 2: css 1` ] = `
599+ exports [` source-map-loader should support indexed sourcemaps 2: code 1` ] = `
600600"console.log('with SourceMap')
601601"
602602` ;
@@ -625,7 +625,7 @@ Object {
625625
626626exports [` source-map-loader should support indexed sourcemaps 2: warnings 1` ] = ` Array []` ;
627627
628- exports [` source-map-loader should support indexed sourcemaps: css 1` ] = `
628+ exports [` source-map-loader should support indexed sourcemaps: code 1` ] = `
629629"console.log('with SourceMap')
630630// Map taken from here
631631// https://github.com/mozilla/source-map/blob/master/test/util.js - indexedTestMapDifferentSourceRoots
@@ -657,7 +657,7 @@ Object {
657657
658658exports [` source-map-loader should support indexed sourcemaps: warnings 1` ] = ` Array []` ;
659659
660- exports [` source-map-loader should support mixed paths in sources with sourceRoot: css 1` ] = `
660+ exports [` source-map-loader should support mixed paths in sources with sourceRoot: code 1` ] = `
661661"// Some content
662662 "
663663` ;
@@ -695,7 +695,7 @@ Failed to parse source map: 'http://path-to-map.com' URL is not supported",
695695]
696696` ;
697697
698- exports [` source-map-loader should support mixed paths in sources without sourceRoot: css 1` ] = `
698+ exports [` source-map-loader should support mixed paths in sources without sourceRoot: code 1` ] = `
699699"// Some content
700700 "
701701` ;
@@ -733,7 +733,7 @@ Failed to parse source map: 'http://path-to-map.com' URL is not supported",
733733]
734734` ;
735735
736- exports [` source-map-loader should support relative sourceRoot paths in sourcemaps: css 1` ] = `
736+ exports [` source-map-loader should support relative sourceRoot paths in sourcemaps: code 1` ] = `
737737"with SourceMap
738738// comment"
739739` ;
@@ -757,7 +757,7 @@ Object {
757757
758758exports [` source-map-loader should support relative sourceRoot paths in sourcemaps: warnings 1` ] = ` Array []` ;
759759
760- exports [` source-map-loader should use last SourceMap directive: css 1` ] = `
760+ exports [` source-map-loader should use last SourceMap directive: code 1` ] = `
761761"with SourceMap
762762anInvalidDirective = \\ "\\\\ n/*# sourceMappingURL=data:application/json;base64,\\ "+btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))))+\\ " */\\ ";
763763// comment"
@@ -781,7 +781,7 @@ Object {
781781
782782exports [` source-map-loader should use last SourceMap directive: warnings 1` ] = ` Array []` ;
783783
784- exports [` source-map-loader should warn on invalid SourceMap: css 1` ] = `
784+ exports [` source-map-loader should warn on invalid SourceMap: code 1` ] = `
785785"with SourceMap
786786//#sourceMappingURL=invalid-source-map.map
787787// comment"
@@ -796,7 +796,7 @@ Failed to parse source map from 'invalid-source-map.map': SyntaxError: Unexpecte
796796]
797797` ;
798798
799- exports [` source-map-loader should warn on invalid base64 SourceMap: css 1` ] = `
799+ exports [` source-map-loader should warn on invalid base64 SourceMap: code 1` ] = `
800800"without SourceMap
801801// @sourceMappingURL=data:application/source-map;base64,invalid/base64=
802802// comment"
@@ -811,7 +811,7 @@ Failed to parse source map from \\"data\\" URL: data:application/source-map;base
811811]
812812` ;
813813
814- exports [` source-map-loader should warn on missing SourceMap: css 1` ] = `
814+ exports [` source-map-loader should warn on missing SourceMap: code 1` ] = `
815815"with SourceMap
816816//#sourceMappingURL=missing-source-map.map
817817// comment"
@@ -826,7 +826,7 @@ Failed to parse source map from '/test/fixtures/missing-source-map.map' file: Er
826826]
827827` ;
828828
829- exports [` source-map-loader should warn on missing source file: css 1` ] = `
829+ exports [` source-map-loader should warn on missing source file: code 1` ] = `
830830"with SourceMap
831831// comment"
832832` ;
0 commit comments