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/options/__snapshots__/sourceMap.test.js.snap
+51-12
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,54 @@
1
1
// Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
3
-
exports[`"sourceMap" option should generate source maps when previous loader return source maps ("less-loader"): css 1`] =`
3
+
exports[`"sourceMap" option should generate source maps the "postcssOptions.map" has the "true" values and previous loader returns source maps ("sass-loader"): css 1`] =`
exports[`"sourceMap" option should generate source maps the "postcssOptions.map" has the "true" values and previous loader returns source maps ("sass-loader"): errors 1`] =`Array []`;
11
+
12
+
exports[`"sourceMap" option should generate source maps the "postcssOptions.map" has the "true" values and previous loader returns source maps ("sass-loader"): warnings 1`] =`Array []`;
13
+
14
+
exports[`"sourceMap" option should generate source maps the "postcssOptions.map" has values and previous loader returns source maps ("sass-loader"): css 1`] =`
15
+
"a {
16
+
color: coral;
17
+
}
18
+
/*# sourceMappingURL=style.scss.map */"
19
+
`;
20
+
21
+
exports[`"sourceMap" option should generate source maps the "postcssOptions.map" has values and previous loader returns source maps ("sass-loader"): errors 1`] =`Array []`;
22
+
23
+
exports[`"sourceMap" option should generate source maps the "postcssOptions.map" has values and previous loader returns source maps ("sass-loader"): source map 1`] =`
24
+
Object {
25
+
"file": "style.scss",
26
+
"mappings": "AAAA;EAAI,YAAA;AAEJ",
27
+
"names": Array [],
28
+
"sourceRoot": "",
29
+
"sources": Array [
30
+
"../style.scss",
31
+
],
32
+
"sourcesContent": Array [
33
+
"a { color: coral }
34
+
",
35
+
],
36
+
"version": 3,
37
+
}
38
+
`;
39
+
40
+
exports[`"sourceMap" option should generate source maps the "postcssOptions.map" has values and previous loader returns source maps ("sass-loader"): warnings 1`] =`Array []`;
41
+
42
+
exports[`"sourceMap" option should generate source maps when previous loader returns source maps ("less-loader"): css 1`] =`
4
43
"a {
5
44
color: coral;
6
45
}
7
46
"
8
47
`;
9
48
10
-
exports[`"sourceMap" option should generate source maps when previous loader return source maps ("less-loader"): errors 1`] =`Array []`;
49
+
exports[`"sourceMap" option should generate source maps when previous loader returns source maps ("less-loader"): errors 1`] =`Array []`;
11
50
12
-
exports[`"sourceMap" option should generate source maps when previous loader return source maps ("less-loader"): source map 1`] =`
51
+
exports[`"sourceMap" option should generate source maps when previous loader returns source maps ("less-loader"): source map 1`] =`
13
52
Object {
14
53
"mappings": "AAAA;EAAI,YAAA;AAEJ",
15
54
"names": Array [],
@@ -25,17 +64,17 @@ Object {
25
64
}
26
65
`;
27
66
28
-
exports[`"sourceMap" option should generate source maps when previous loader return source maps ("less-loader"): warnings 1`] =`Array []`;
67
+
exports[`"sourceMap" option should generate source maps when previous loader returns source maps ("less-loader"): warnings 1`] =`Array []`;
29
68
30
-
exports[`"sourceMap" option should generate source maps when previous loader return source maps ("sass-loader"): css 1`] =`
69
+
exports[`"sourceMap" option should generate source maps when previous loader returns source maps ("sass-loader"): css 1`] =`
31
70
"a {
32
71
color: coral;
33
72
}"
34
73
`;
35
74
36
-
exports[`"sourceMap" option should generate source maps when previous loader return source maps ("sass-loader"): errors 1`] =`Array []`;
75
+
exports[`"sourceMap" option should generate source maps when previous loader returns source maps ("sass-loader"): errors 1`] =`Array []`;
37
76
38
-
exports[`"sourceMap" option should generate source maps when previous loader return source maps ("sass-loader"): source map 1`] =`
77
+
exports[`"sourceMap" option should generate source maps when previous loader returns source maps ("sass-loader"): source map 1`] =`
39
78
Object {
40
79
"mappings": "AAAA;EAAI,YAAA;AAEJ",
41
80
"names": Array [],
@@ -51,9 +90,9 @@ Object {
51
90
}
52
91
`;
53
92
54
-
exports[`"sourceMap" option should generate source maps when previous loader return source maps ("sass-loader"): warnings 1`] =`Array []`;
93
+
exports[`"sourceMap" option should generate source maps when previous loader returns source maps ("sass-loader"): warnings 1`] =`Array []`;
55
94
56
-
exports[`"sourceMap" option should generate source maps when value has "false" value, but the "postcssOptions.map" has the "true" value: css 1`] =`
95
+
exports[`"sourceMap" option should generate source maps when value has "false" value, but the "postcssOptions.map" has values: css 1`] =`
57
96
"a {
58
97
color: black;
59
98
}
@@ -100,9 +139,9 @@ a {
100
139
"
101
140
`;
102
141
103
-
exports[`"sourceMap" option should generate source maps when value has "false" value, but the "postcssOptions.map" has the "true" value: errors 1`] =`Array []`;
142
+
exports[`"sourceMap" option should generate source maps when value has "false" value, but the "postcssOptions.map" has values: errors 1`] =`Array []`;
104
143
105
-
exports[`"sourceMap" option should generate source maps when value has "false" value, but the "postcssOptions.map" has the "true" value: source map 1`] =`
144
+
exports[`"sourceMap" option should generate source maps when value has "false" value, but the "postcssOptions.map" has values: source map 1`] =`
exports[`"sourceMap" option should generate source maps when value has "false" value, but the "postcssOptions.map" has the "true" value: warnings 1`] =`Array []`;
203
+
exports[`"sourceMap" option should generate source maps when value has "false" value, but the "postcssOptions.map" has values: warnings 1`] =`Array []`;
165
204
166
205
exports[`"sourceMap" option should generate source maps when value has "true" value and the "devtool" option has "false" value: css 1`] =`
0 commit comments