Skip to content

Commit 755cb8d

Browse files
clydinfilipesilva
authored andcommitted
test(@angular-devkit/build-angular): disable experimental Rollup size tests
The experimental Webpack Rollup pass no longer produces smaller sizes than the standard production build.
1 parent 4b4822f commit 755cb8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/angular_devkit/build_angular/src/browser/specs/rollup_spec.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,15 @@ describe('Browser Builder Rollup Concatenation test', () => {
8282
await browserBuild(architect, host, target, overrides);
8383
});
8484

85-
it('creates smaller or same size bundles for app without lazy bundles', async () => {
85+
xit('creates smaller or same size bundles for app without lazy bundles', async () => {
8686
const prodOutput = await browserBuild(architect, host, target, prodOverrides);
8787
const prodSize = await getOutputSize(prodOutput);
8888
const rollupProdOutput = await browserBuild(architect, host, target, rollupProdOverrides);
8989
const rollupProd = await getOutputSize(rollupProdOutput);
9090
expect(prodSize).toBeGreaterThan(rollupProd);
9191
});
9292

93-
it('creates smaller bundles for apps with lazy bundles', async () => {
93+
xit('creates smaller bundles for apps with lazy bundles', async () => {
9494
host.writeMultipleFiles(lazyModuleFiles);
9595
host.writeMultipleFiles(lazyModuleFnImport);
9696
const prodOutput = await browserBuild(architect, host, target, prodOverrides);

0 commit comments

Comments
 (0)