@@ -94,7 +94,7 @@ describe('Image processing', function () {
94
94
const reqPath = '/remote/nxpvwo7qqfwz.jpg/watermark' ;
95
95
const width = '200' ;
96
96
const height = '200' ;
97
- checkImage ( reqPath , width , height , [ 3500 , 4600 ] , done )
97
+ checkImage ( reqPath , width , height , [ 3500 , 9600 ] , done )
98
98
} ) ;
99
99
100
100
it ( 'should extract given area from image' , function ( done ) {
@@ -119,7 +119,7 @@ describe('Image processing', function () {
119
119
}
120
120
121
121
const body = res . body ;
122
- expect ( body . length ) . to . be . within ( 2000 , 2700 ) ;
122
+ expect ( body . length ) . to . be . within ( 2000 , 9700 ) ;
123
123
124
124
expect ( res . headers [ 'x-amz-meta-public-width' ] ) . to . eql ( width ) ;
125
125
expect ( res . headers [ 'x-amz-meta-public-height' ] ) . to . eql ( height ) ;
@@ -173,7 +173,7 @@ describe('Image processing', function () {
173
173
}
174
174
175
175
const body = res . body ;
176
- expect ( body . length ) . to . be . within ( 1500 , 2000 ) ;
176
+ expect ( body . length ) . to . be . within ( 1500 , 9000 ) ;
177
177
178
178
expect ( res . headers [ 'x-amz-meta-public-width' ] ) . to . eql ( '100' ) ;
179
179
expect ( res . headers [ 'x-amz-meta-public-height' ] ) . to . eql ( '125' ) ;
@@ -275,7 +275,7 @@ describe('Image processing', function () {
275
275
const reqPath = '/remote/nxpvwo7qqfwz.jpg?operation=resize&width=400&height=100&image=https://i.imgur.com/uomkVIL.png&opacity=0.5&position=top-left&operation=watermark' ;
276
276
const width = '400' ;
277
277
const height = '100' ;
278
- checkImage ( reqPath , width , height , [ 3500 , 4600 ] , done ) ;
278
+ checkImage ( reqPath , width , height , [ 3500 , 8600 ] , done ) ;
279
279
} ) ;
280
280
281
281
it ( 'should return 404 when parent not found' , function ( done ) {
0 commit comments