@@ -45,7 +45,7 @@ describe("Plugin", function () {
4545 parsedSize : 1343 ,
4646 // On node.js v16 and lower, the calculated gzip is one byte larger. Nice.
4747 gzipSize :
48- parseInt ( process . versions . node . split ( "." ) [ 0 ] ) <= 16 ? 360 : 359 ,
48+ parseInt ( process . versions . node . split ( "." ) [ 0 ] ) <= 16 ? 360 : 358 ,
4949 } ) ;
5050 } ) ;
5151 } ) ;
@@ -173,26 +173,26 @@ describe("Plugin", function () {
173173 it ( "should default to gzip" , async function ( ) {
174174 const config = makeWebpackConfig ( { analyzerOpts : { } } ) ;
175175 await webpackCompile ( config , "4.44.2" ) ;
176- await expectValidReport ( { parsedSize : 1311 , gzipSize : 342 } ) ;
176+ await expectValidReport ( { parsedSize : 1311 , gzipSize : 341 } ) ;
177177 } ) ;
178178
179179 it ( "should support gzip" , async function ( ) {
180180 const config = makeWebpackConfig ( {
181181 analyzerOpts : { compressionAlgorithm : "gzip" } ,
182182 } ) ;
183183 await webpackCompile ( config , "4.44.2" ) ;
184- await expectValidReport ( { parsedSize : 1311 , gzipSize : 342 } ) ;
184+ await expectValidReport ( { parsedSize : 1311 , gzipSize : 341 } ) ;
185185 } ) ;
186186
187- it ( "should support brotli" , async function ( ) {
187+ it . only ( "should support brotli" , async function ( ) {
188188 const config = makeWebpackConfig ( {
189189 analyzerOpts : { compressionAlgorithm : "brotli" } ,
190190 } ) ;
191191 await webpackCompile ( config , "4.44.2" ) ;
192192 await expectValidReport ( {
193- parsedSize : 1311 ,
193+ parsedSize : 1317 ,
194194 gzipSize : undefined ,
195- brotliSize : 302 ,
195+ brotliSize : 295 ,
196196 } ) ;
197197 } ) ;
198198 if ( isZstdSupported ) {
0 commit comments