File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
tests/e2e/tests/packages/webpack Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,12 @@ export default function(skipCleaning: () => void) {
1515 . then ( ( ) => expectFileToExist ( 'dist/0.app.main.js' ) )
1616 . then ( ( ) => expectFileToExist ( 'dist/1.app.main.js' ) )
1717 . then ( ( ) => expectFileToExist ( 'dist/2.app.main.js' ) )
18- . then ( ( ) => expectFileSizeToBeUnder ( 'dist/app.main.js' , 410000 ) )
18+ // 4.0.0-beta.8 added roughly 80kb extra size (401kb to 480kb).
19+ // For now we have fixed the test below, but when the size drops down again replace the
20+ // two lines below with the commented one.
21+ . then ( ( ) => expectFileSizeToBeUnder ( 'dist/app.main.js' , 481000 ) )
22+ . then ( ( ) => expectToFail ( ( ) => expectFileSizeToBeUnder ( 'dist/app.main.js' , 410000 ) ) )
23+ // .then(() => expectFileSizeToBeUnder('dist/app.main.js', 410000))
1924 . then ( ( ) => expectFileSizeToBeUnder ( 'dist/0.app.main.js' , 40000 ) )
2025
2126 // Skip code generation and rebuild.
You can’t perform that action at this time.
0 commit comments