|
1 | 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP |
2 | 2 |
|
3 | | -exports[`CompressionPlugin should work child compilations: assets 1`] = ` |
| 3 | +exports[`CompressionPlugin should work and show compress assets in stats: assets 1`] = ` |
4 | 4 | Array [ |
5 | 5 | Array [ |
6 | 6 | "09a1a1112c577c2794359715edfcb5ac.png", |
7 | 7 | 78117, |
8 | | - Object {}, |
9 | 8 | ], |
10 | 9 | Array [ |
11 | 10 | "23fc1d3ac606d117e05a140e0de79806.svg", |
12 | 11 | 672, |
13 | | - Object { |
14 | | - "related": Object { |
15 | | - "gziped": "23fc1d3ac606d117e05a140e0de79806.svg.gz", |
16 | | - }, |
17 | | - }, |
18 | 12 | ], |
19 | 13 | Array [ |
20 | 14 | "23fc1d3ac606d117e05a140e0de79806.svg.gz", |
21 | 15 | 393, |
22 | | - Object { |
23 | | - "compressed": true, |
24 | | - }, |
25 | | - ], |
26 | | - Array [ |
27 | | - "async.async.js.gz", |
28 | | - 171, |
29 | | - Object { |
30 | | - "compressed": true, |
31 | | - }, |
32 | 16 | ], |
33 | 17 | Array [ |
34 | | - "async.async.js?ver=810493800e70254b803c", |
| 18 | + "async.async.js", |
35 | 19 | 249, |
36 | | - Object { |
37 | | - "immutable": true, |
38 | | - "related": Object { |
39 | | - "gziped": "async.async.js.gz", |
40 | | - }, |
41 | | - }, |
42 | 20 | ], |
43 | 21 | Array [ |
44 | | - "copied.js", |
45 | | - 400, |
46 | | - Object { |
47 | | - "copied": true, |
48 | | - "related": Object { |
49 | | - "gziped": "copied.js.gz", |
50 | | - }, |
51 | | - }, |
| 22 | + "async.async.js.gz", |
| 23 | + 171, |
52 | 24 | ], |
53 | 25 | Array [ |
54 | | - "copied.js.gz", |
55 | | - 29, |
56 | | - Object { |
57 | | - "compressed": true, |
58 | | - }, |
| 26 | + "main.js", |
| 27 | + 11595, |
59 | 28 | ], |
60 | 29 | Array [ |
61 | 30 | "main.js.gz", |
62 | | - 3001, |
63 | | - Object { |
64 | | - "compressed": true, |
65 | | - }, |
66 | | - ], |
67 | | - Array [ |
68 | | - "main.js?var=810493800e70254b803c", |
69 | | - 11627, |
70 | | - Object { |
71 | | - "immutable": true, |
72 | | - "related": Object { |
73 | | - "gziped": "main.js.gz", |
74 | | - }, |
75 | | - }, |
| 31 | + 2974, |
76 | 32 | ], |
77 | 33 | ] |
78 | 34 | `; |
79 | 35 |
|
80 | | -exports[`CompressionPlugin should work child compilations: errors 1`] = `Array []`; |
| 36 | +exports[`CompressionPlugin should work and show compress assets in stats: errors 1`] = `Array []`; |
81 | 37 |
|
82 | | -exports[`CompressionPlugin should work child compilations: warnings 1`] = `Array []`; |
| 38 | +exports[`CompressionPlugin should work and show compress assets in stats: warnings 1`] = `Array []`; |
83 | 39 |
|
84 | | -exports[`CompressionPlugin should work in watch mode: assets 1`] = ` |
| 40 | +exports[`CompressionPlugin should work and use weak cache: assets 1`] = ` |
85 | 41 | Array [ |
86 | 42 | Array [ |
87 | 43 | "09a1a1112c577c2794359715edfcb5ac.png", |
@@ -114,7 +70,7 @@ Array [ |
114 | 70 | ] |
115 | 71 | `; |
116 | 72 |
|
117 | | -exports[`CompressionPlugin should work in watch mode: assets 2`] = ` |
| 73 | +exports[`CompressionPlugin should work and use weak cache: assets 2`] = ` |
118 | 74 | Array [ |
119 | 75 | Array [ |
120 | 76 | "09a1a1112c577c2794359715edfcb5ac.png", |
@@ -147,13 +103,94 @@ Array [ |
147 | 103 | ] |
148 | 104 | `; |
149 | 105 |
|
150 | | -exports[`CompressionPlugin should work in watch mode: errors 1`] = `Array []`; |
| 106 | +exports[`CompressionPlugin should work and use weak cache: errors 1`] = `Array []`; |
| 107 | + |
| 108 | +exports[`CompressionPlugin should work and use weak cache: errors 2`] = `Array []`; |
151 | 109 |
|
152 | | -exports[`CompressionPlugin should work in watch mode: errors 2`] = `Array []`; |
| 110 | +exports[`CompressionPlugin should work and use weak cache: warnings 1`] = `Array []`; |
| 111 | + |
| 112 | +exports[`CompressionPlugin should work and use weak cache: warnings 2`] = `Array []`; |
| 113 | + |
| 114 | +exports[`CompressionPlugin should work child compilations: assets 1`] = ` |
| 115 | +Array [ |
| 116 | + Array [ |
| 117 | + "09a1a1112c577c2794359715edfcb5ac.png", |
| 118 | + 78117, |
| 119 | + Object {}, |
| 120 | + ], |
| 121 | + Array [ |
| 122 | + "23fc1d3ac606d117e05a140e0de79806.svg", |
| 123 | + 672, |
| 124 | + Object { |
| 125 | + "related": Object { |
| 126 | + "gziped": "23fc1d3ac606d117e05a140e0de79806.svg.gz", |
| 127 | + }, |
| 128 | + }, |
| 129 | + ], |
| 130 | + Array [ |
| 131 | + "23fc1d3ac606d117e05a140e0de79806.svg.gz", |
| 132 | + 393, |
| 133 | + Object { |
| 134 | + "compressed": true, |
| 135 | + }, |
| 136 | + ], |
| 137 | + Array [ |
| 138 | + "async.async.js.gz", |
| 139 | + 171, |
| 140 | + Object { |
| 141 | + "compressed": true, |
| 142 | + }, |
| 143 | + ], |
| 144 | + Array [ |
| 145 | + "async.async.js?ver=810493800e70254b803c", |
| 146 | + 249, |
| 147 | + Object { |
| 148 | + "immutable": true, |
| 149 | + "related": Object { |
| 150 | + "gziped": "async.async.js.gz", |
| 151 | + }, |
| 152 | + }, |
| 153 | + ], |
| 154 | + Array [ |
| 155 | + "copied.js", |
| 156 | + 400, |
| 157 | + Object { |
| 158 | + "copied": true, |
| 159 | + "related": Object { |
| 160 | + "gziped": "copied.js.gz", |
| 161 | + }, |
| 162 | + }, |
| 163 | + ], |
| 164 | + Array [ |
| 165 | + "copied.js.gz", |
| 166 | + 29, |
| 167 | + Object { |
| 168 | + "compressed": true, |
| 169 | + }, |
| 170 | + ], |
| 171 | + Array [ |
| 172 | + "main.js.gz", |
| 173 | + 3001, |
| 174 | + Object { |
| 175 | + "compressed": true, |
| 176 | + }, |
| 177 | + ], |
| 178 | + Array [ |
| 179 | + "main.js?var=810493800e70254b803c", |
| 180 | + 11627, |
| 181 | + Object { |
| 182 | + "immutable": true, |
| 183 | + "related": Object { |
| 184 | + "gziped": "main.js.gz", |
| 185 | + }, |
| 186 | + }, |
| 187 | + ], |
| 188 | +] |
| 189 | +`; |
153 | 190 |
|
154 | | -exports[`CompressionPlugin should work in watch mode: warnings 1`] = `Array []`; |
| 191 | +exports[`CompressionPlugin should work child compilations: errors 1`] = `Array []`; |
155 | 192 |
|
156 | | -exports[`CompressionPlugin should work in watch mode: warnings 2`] = `Array []`; |
| 193 | +exports[`CompressionPlugin should work child compilations: warnings 1`] = `Array []`; |
157 | 194 |
|
158 | 195 | exports[`CompressionPlugin should work with assets info: assets 1`] = ` |
159 | 196 | Array [ |
|
0 commit comments