File tree 1 file changed +0
-18
lines changed
tests/legacy-cli/e2e/tests/build 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -90,22 +90,4 @@ export default async function () {
90
90
) ;
91
91
92
92
await ng ( 'e2e' , '--configuration=production' ) ;
93
-
94
- const usingApplicationBuilder = getGlobalVariable ( 'argv' ) [ 'esbuild' ] ;
95
- if ( usingApplicationBuilder ) {
96
- // Test with chunk optimizations to reduce async animations chunk file count
97
- await execWithEnv ( 'ng' , [ 'build' ] , {
98
- ...process . env ,
99
- NG_BUILD_OPTIMIZE_CHUNKS : '1' ,
100
- } ) ;
101
- const distFiles = await readdir ( 'dist/test-project/browser' ) ;
102
- const jsCount = distFiles . filter ( ( file ) => file . endsWith ( '.js' ) ) . length ;
103
- // 3 = polyfills, main, and one lazy chunk
104
- assert . equal ( jsCount , 3 ) ;
105
-
106
- await execWithEnv ( 'ng' , [ 'e2e' , '--configuration=production' ] , {
107
- ...process . env ,
108
- NG_BUILD_OPTIMIZE_CHUNKS : '1' ,
109
- } ) ;
110
- }
111
93
}
You can’t perform that action at this time.
0 commit comments