Skip to content

Commit

Permalink
test(@angular-devkit/build-angular): disable experimental Rollup size…
Browse files Browse the repository at this point in the history
… tests

The experimental Webpack Rollup pass no longer produces smaller sizes than the standard production build.
  • Loading branch information
clydin authored and filipesilva committed Oct 12, 2020
1 parent 4b4822f commit 755cb8d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,15 @@ describe('Browser Builder Rollup Concatenation test', () => {
await browserBuild(architect, host, target, overrides);
});

it('creates smaller or same size bundles for app without lazy bundles', async () => {
xit('creates smaller or same size bundles for app without lazy bundles', async () => {
const prodOutput = await browserBuild(architect, host, target, prodOverrides);
const prodSize = await getOutputSize(prodOutput);
const rollupProdOutput = await browserBuild(architect, host, target, rollupProdOverrides);
const rollupProd = await getOutputSize(rollupProdOutput);
expect(prodSize).toBeGreaterThan(rollupProd);
});

it('creates smaller bundles for apps with lazy bundles', async () => {
xit('creates smaller bundles for apps with lazy bundles', async () => {
host.writeMultipleFiles(lazyModuleFiles);
host.writeMultipleFiles(lazyModuleFnImport);
const prodOutput = await browserBuild(architect, host, target, prodOverrides);
Expand Down

0 comments on commit 755cb8d

Please sign in to comment.