@@ -51,28 +51,18 @@ Object {
51
51
52
52
exports [` doesn't emit file 1` ] = `
53
53
Object {
54
- " height" : 900 ,
54
+ " height" : 225 ,
55
55
" images" : Array [
56
56
Object {
57
- " height" : 450 ,
58
- " path" : " foobar/78a57c37d73de1a0df2e5e84a7c3a493-500.jpg" ,
59
- " width" : 500 ,
60
- },
61
- Object {
62
- " height" : 675 ,
63
- " path" : " foobar/7d2980f5976397657aae4e66161cc660-750.jpg" ,
64
- " width" : 750 ,
65
- },
66
- Object {
67
- " height" : 900 ,
68
- " path" : " foobar/03fe31cc7d34b5317390ef55eaf9bc12-1000.jpg" ,
69
- " width" : 1000 ,
57
+ " height" : 225 ,
58
+ " path" : " foobar/96ace3b661e096e716b4a62bcc3934d2-250.jpg" ,
59
+ " width" : 250 ,
70
60
},
71
61
],
72
- " src" : " foobar/03fe31cc7d34b5317390ef55eaf9bc12-1000 .jpg" ,
73
- " srcSet" : " foobar/78a57c37d73de1a0df2e5e84a7c3a493-500 .jpg 500w,foobar/7d2980f5976397657aae4e66161cc660-750.jpg 750w,foobar/03fe31cc7d34b5317390ef55eaf9bc12-1000.jpg 1000w " ,
62
+ " src" : " foobar/96ace3b661e096e716b4a62bcc3934d2-250 .jpg" ,
63
+ " srcSet" : " foobar/96ace3b661e096e716b4a62bcc3934d2-250 .jpg 250w " ,
74
64
" toString" : [Function ],
75
- " width" : 1000 ,
65
+ " width" : 250 ,
76
66
}
77
67
` ;
78
68
@@ -112,19 +102,14 @@ Object {
112
102
" path" : " foobar/78a57c37d73de1a0df2e5e84a7c3a493-500.jpg" ,
113
103
" width" : 500 ,
114
104
},
115
- Object {
116
- " height" : 675 ,
117
- " path" : " foobar/7d2980f5976397657aae4e66161cc660-750.jpg" ,
118
- " width" : 750 ,
119
- },
120
105
Object {
121
106
" height" : 900 ,
122
107
" path" : " foobar/03fe31cc7d34b5317390ef55eaf9bc12-1000.jpg" ,
123
108
" width" : 1000 ,
124
109
},
125
110
],
126
111
" src" : " foobar/03fe31cc7d34b5317390ef55eaf9bc12-1000.jpg" ,
127
- " srcSet" : " foobar/78a57c37d73de1a0df2e5e84a7c3a493-500.jpg 500w,foobar/7d2980f5976397657aae4e66161cc660-750.jpg 750w,foobar/ 03fe31cc7d34b5317390ef55eaf9bc12-1000.jpg 1000w" ,
112
+ " srcSet" : " foobar/78a57c37d73de1a0df2e5e84a7c3a493-500.jpg 500w,foobar/03fe31cc7d34b5317390ef55eaf9bc12-1000.jpg 1000w" ,
128
113
" toString" : [Function ],
129
114
" width" : 1000 ,
130
115
}
@@ -220,60 +205,50 @@ Object {
220
205
221
206
exports [` override min and max with sizes 1` ] = `
222
207
Object {
223
- " height" : 270 ,
208
+ " height" : 180 ,
224
209
" images" : Array [
225
210
Object {
226
211
" height" : 90 ,
227
212
" path" : " foobar/0049f565d3e598f80b744f888ccaf30d-100.jpg" ,
228
213
" width" : 100 ,
229
214
},
230
215
Object {
231
- " height" : 150 ,
232
- " path" : " foobar/aa3b8300ebda3fea987abdf9d9882114-167.jpg" ,
233
- " width" : 167 ,
234
- },
235
- Object {
236
- " height" : 211 ,
237
- " path" : " foobar/3f3eeb68a9bed05267734028c5aecb8b-234.jpg" ,
238
- " width" : 234 ,
239
- },
240
- Object {
241
- " height" : 270 ,
242
- " path" : " foobar/7c60c8715bec52ab753a83903b738d58-300.jpg" ,
243
- " width" : 300 ,
216
+ " height" : 180 ,
217
+ " path" : " foobar/5f2f5155b26fa7fed6fcc32f01aca2fa-200.jpg" ,
218
+ " width" : 200 ,
244
219
},
245
220
],
246
- " src" : " foobar/7c60c8715bec52ab753a83903b738d58-300 .jpg" ,
247
- " srcSet" : " foobar/0049f565d3e598f80b744f888ccaf30d-100.jpg 100w,foobar/aa3b8300ebda3fea987abdf9d9882114-167 .jpg 167w,foobar/3f3eeb68a9bed05267734028c5aecb8b-234.jpg 234w,foobar/7c60c8715bec52ab753a83903b738d58-300.jpg 300w " ,
221
+ " src" : " foobar/5f2f5155b26fa7fed6fcc32f01aca2fa-200 .jpg" ,
222
+ " srcSet" : " foobar/0049f565d3e598f80b744f888ccaf30d-100.jpg 100w,foobar/5f2f5155b26fa7fed6fcc32f01aca2fa-200 .jpg 200w " ,
248
223
" toString" : [Function ],
249
- " width" : 300 ,
224
+ " width" : 200 ,
250
225
}
251
226
` ;
252
227
253
228
exports [` parses json notation 1` ] = `
254
229
Object {
255
- " height" : 900 ,
230
+ " height" : 180 ,
256
231
" images" : Array [
257
232
Object {
258
- " height" : 450 ,
259
- " path" : " foobar/78a57c37d73de1a0df2e5e84a7c3a493-500.jpg " ,
260
- " width" : 500 ,
233
+ " height" : 45 ,
234
+ " path" : " foobar/d29e4bda309a28b94d101aeeac15e622-50.webp " ,
235
+ " width" : 50 ,
261
236
},
262
237
Object {
263
- " height" : 675 ,
264
- " path" : " foobar/7d2980f5976397657aae4e66161cc660-750.jpg " ,
265
- " width" : 750 ,
238
+ " height" : 90 ,
239
+ " path" : " foobar/ab4bef82e752b1d075af5236c458073e-100.webp " ,
240
+ " width" : 100 ,
266
241
},
267
242
Object {
268
- " height" : 900 ,
269
- " path" : " foobar/03fe31cc7d34b5317390ef55eaf9bc12-1000.jpg " ,
270
- " width" : 1000 ,
243
+ " height" : 180 ,
244
+ " path" : " foobar/004bbcf97542aa5c1e2434233b53ac16-200.webp " ,
245
+ " width" : 200 ,
271
246
},
272
247
],
273
- " src" : " foobar/03fe31cc7d34b5317390ef55eaf9bc12-1000.jpg " ,
274
- " srcSet" : " foobar/78a57c37d73de1a0df2e5e84a7c3a493-500.jpg 500w ,foobar/7d2980f5976397657aae4e66161cc660-750.jpg 750w ,foobar/03fe31cc7d34b5317390ef55eaf9bc12-1000.jpg 1000w " ,
248
+ " src" : " foobar/004bbcf97542aa5c1e2434233b53ac16-200.webp " ,
249
+ " srcSet" : " foobar/d29e4bda309a28b94d101aeeac15e622-50.webp 50w ,foobar/ab4bef82e752b1d075af5236c458073e-100.webp 100w ,foobar/004bbcf97542aa5c1e2434233b53ac16-200.webp 200w " ,
275
250
" toString" : [Function ],
276
- " width" : 1000 ,
251
+ " width" : 200 ,
277
252
}
278
253
` ;
279
254
@@ -406,28 +381,23 @@ Object {
406
381
407
382
exports [` progressive image 1` ] = `
408
383
Object {
409
- " height" : 900 ,
384
+ " height" : 864 ,
410
385
" images" : Array [
411
386
Object {
412
- " height" : 450 ,
413
- " path" : " foobar/9e9c5875ebfbb1857cfdb4bad0034153-500.jpg" ,
414
- " width" : 500 ,
415
- },
416
- Object {
417
- " height" : 675 ,
418
- " path" : " foobar/89ff9c2e034e9b961b13f28f8dfe0507-750.jpg" ,
419
- " width" : 750 ,
387
+ " height" : 684 ,
388
+ " path" : " foobar/a366eedb0a0ae21632438e6d488e8365-760.jpg" ,
389
+ " width" : 760 ,
420
390
},
421
391
Object {
422
- " height" : 900 ,
423
- " path" : " foobar/263472fca3eb3f5a70962e754ea03ee6-1000 .jpg" ,
424
- " width" : 1000 ,
392
+ " height" : 864 ,
393
+ " path" : " foobar/481f41d88cf3a0a41fd3f6a076222c68-960 .jpg" ,
394
+ " width" : 960 ,
425
395
},
426
396
],
427
- " src" : " foobar/263472fca3eb3f5a70962e754ea03ee6-1000 .jpg" ,
428
- " srcSet" : " foobar/9e9c5875ebfbb1857cfdb4bad0034153-500 .jpg 500w ,foobar/89ff9c2e034e9b961b13f28f8dfe0507-750 .jpg 750w,foobar/263472fca3eb3f5a70962e754ea03ee6-1000.jpg 1000w " ,
397
+ " src" : " foobar/481f41d88cf3a0a41fd3f6a076222c68-960 .jpg" ,
398
+ " srcSet" : " foobar/a366eedb0a0ae21632438e6d488e8365-760 .jpg 760w ,foobar/481f41d88cf3a0a41fd3f6a076222c68-960 .jpg 960w " ,
429
399
" toString" : [Function ],
430
- " width" : 1000 ,
400
+ " width" : 960 ,
431
401
}
432
402
` ;
433
403
0 commit comments