|
1 | 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP
|
2 | 2 |
|
3 |
| -exports[`"sourceMap" option should generate source maps and do not change "[contenthash]" on different platform: errors 1`] = `Array []`; |
4 |
| - |
5 |
| -exports[`"sourceMap" option should generate source maps and do not change "[contenthash]" on different platform: module 1`] = ` |
6 |
| -"// Imports |
7 |
| -import ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \\"../../../src/runtime/sourceMaps.js\\"; |
8 |
| -import ___CSS_LOADER_API_IMPORT___ from \\"../../../src/runtime/api.js\\"; |
9 |
| -import ___CSS_LOADER_AT_RULE_IMPORT_0___ from \\"-!../../../src/index.js??ruleSet[1].rules[0].rules[0]!./nested/nested.css\\"; |
10 |
| -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___); |
11 |
| -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___); |
12 |
| -// Module |
13 |
| -___CSS_LOADER_EXPORT___.push([module.id, \\".class {\\\\n color: red;\\\\n}\\\\n\\", \\"\\",{\\"version\\":3,\\"sources\\":[\\"webpack://./test/fixtures/source-map/basic.css\\"],\\"names\\":[],\\"mappings\\":\\"AAEA;EACE,UAAU;AACZ\\",\\"sourcesContent\\":[\\"@import \\\\\\"./nested/nested.css\\\\\\";\\\\n\\\\n.class {\\\\n color: red;\\\\n}\\\\n\\"],\\"sourceRoot\\":\\"\\"}]); |
14 |
| -// Exports |
15 |
| -export default ___CSS_LOADER_EXPORT___; |
16 |
| -" |
17 |
| -`; |
18 |
| - |
19 |
| -exports[`"sourceMap" option should generate source maps and do not change "[contenthash]" on different platform: result 1`] = ` |
20 |
| -Array [ |
21 |
| - Array [ |
22 |
| - "./src/index.js??ruleSet[1].rules[0].rules[0]!./test/fixtures/source-map/nested/nested.css", |
23 |
| - ".nested { |
24 |
| - color: blue; |
25 |
| -} |
26 |
| -", |
27 |
| - "", |
28 |
| - Object { |
29 |
| - "mappings": "AAAA;EACE,WAAW;AACb", |
30 |
| - "names": Array [], |
31 |
| - "sourceRoot": "", |
32 |
| - "sources": Array [ |
33 |
| - "webpack://./test/fixtures/source-map/nested/nested.css", |
34 |
| - ], |
35 |
| - "sourcesContent": Array [ |
36 |
| - ".nested { |
37 |
| - color: blue; |
38 |
| -} |
39 |
| -", |
40 |
| - ], |
41 |
| - "version": 3, |
42 |
| - }, |
43 |
| - ], |
44 |
| - Array [ |
45 |
| - "./test/fixtures/source-map/basic.css", |
46 |
| - ".class { |
47 |
| - color: red; |
48 |
| -} |
49 |
| -", |
50 |
| - "", |
51 |
| - Object { |
52 |
| - "mappings": "AAEA;EACE,UAAU;AACZ", |
53 |
| - "names": Array [], |
54 |
| - "sourceRoot": "", |
55 |
| - "sources": Array [ |
56 |
| - "webpack://./test/fixtures/source-map/basic.css", |
57 |
| - ], |
58 |
| - "sourcesContent": Array [ |
59 |
| - "@import \\"./nested/nested.css\\"; |
60 |
| -
|
61 |
| -.class { |
62 |
| - color: red; |
63 |
| -} |
64 |
| -", |
65 |
| - ], |
66 |
| - "version": 3, |
67 |
| - }, |
68 |
| - ], |
69 |
| -] |
70 |
| -`; |
71 |
| - |
72 |
| -exports[`"sourceMap" option should generate source maps and do not change "[contenthash]" on different platform: warnings 1`] = `Array []`; |
73 |
| - |
74 | 3 | exports[`"sourceMap" option should generate source maps and respect 'nosources' value: errors 1`] = `Array []`;
|
75 | 4 |
|
76 | 5 | exports[`"sourceMap" option should generate source maps and respect 'nosources' value: module 1`] = `
|
|
0 commit comments