tests(smoke): use range for unused bytes expectations (#10473)
This commit is contained in:
Родитель
ee7cb3ba93
Коммит
30ec2e33c3
|
@ -149,22 +149,22 @@ const expectations = [
|
|||
},
|
||||
{
|
||||
url: 'http://localhost:10200/byte-efficiency/bundle.js',
|
||||
totalBytes: 12913,
|
||||
wastedBytes: 5827,
|
||||
totalBytes: '12913 +/- 1000',
|
||||
wastedBytes: '5827 +/- 200',
|
||||
sources: [
|
||||
'…./b.js',
|
||||
'…./c.js',
|
||||
'…webpack/bootstrap',
|
||||
],
|
||||
sourceBytes: [
|
||||
4417,
|
||||
2200,
|
||||
2809,
|
||||
'4417 +/- 50',
|
||||
'2200 +/- 50',
|
||||
'2809 +/- 50',
|
||||
],
|
||||
sourceWastedBytes: [
|
||||
2191,
|
||||
2182,
|
||||
1259,
|
||||
'2191 +/- 50',
|
||||
'2182 +/- 50',
|
||||
'1259 +/- 50',
|
||||
],
|
||||
},
|
||||
],
|
||||
|
|
Загрузка…
Ссылка в новой задаче