File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
tests/e2e/tests/packages/webpack Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 11import { normalize } from 'path' ;
22import { createProjectFromAsset } from '../../../utils/assets' ;
33import { exec } from '../../../utils/process' ;
4- import { expectFileSizeToBeUnder , expectFileToMatch } from '../../../utils/fs' ;
4+ import { expectFileToMatch } from '../../../utils/fs' ;
55
66
77export default function ( skipCleaning : ( ) => void ) {
88 return Promise . resolve ( )
99 . then ( ( ) => createProjectFromAsset ( 'webpack/test-server-app' ) )
1010 . then ( ( ) => exec ( normalize ( 'node_modules/.bin/webpack' ) , '-p' ) )
11- . then ( ( ) => expectFileSizeToBeUnder ( 'dist/app.main.js' , 420000 ) )
12- . then ( ( ) => expectFileSizeToBeUnder ( 'dist/0.app.main.js' , 10000 ) )
1311 . then ( ( ) => expectFileToMatch ( 'dist/app.main.js' ,
1412 new RegExp ( '.bootstrapModuleFactory' ) )
1513 . then ( ( ) => expectFileToMatch ( 'dist/app.main.js' ,
You can’t perform that action at this time.
0 commit comments