diff --git a/packages/angular_devkit/build_angular/package.json b/packages/angular_devkit/build_angular/package.json index 710c81daa32d..5b4a65effa03 100644 --- a/packages/angular_devkit/build_angular/package.json +++ b/packages/angular_devkit/build_angular/package.json @@ -15,7 +15,7 @@ "autoprefixer": "^8.4.1", "circular-dependency-plugin": "^5.0.2", "clean-css": "^4.1.11", - "copy-webpack-plugin": "^4.5.2", + "copy-webpack-plugin": "4.5.2", "file-loader": "^1.1.11", "glob": "^7.0.3", "html-webpack-plugin": "^3.0.6", diff --git a/tests/legacy-cli/e2e/tests/experimental/ivy.ts b/tests/legacy-cli/e2e/tests/experimental/ivy.ts deleted file mode 100644 index 794b6c7b6569..000000000000 --- a/tests/legacy-cli/e2e/tests/experimental/ivy.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -import { request } from '../../utils/http'; -import { killAllProcesses } from '../../utils/process'; -import { createProject, ngServe } from '../../utils/project'; - -export default async function() { - try { - await createProject('ivy-project', '--experimental-ivy'); - - await ngServe('--prod'); - - // Verify the index.html - const body = await request('http://localhost:4200/'); - if (!body.match(/<\/app-root>/)) { - throw new Error('Response does not match expected value.'); - } - - // Verify it's Ivy. - const mainUrlMatch = body.match(/src="(main\.[a-z0-9]{0,32}\.js)"/); - const mainUrl = mainUrlMatch && mainUrlMatch[1]; - const main = await request('http://localhost:4200/' + mainUrl); - - if (!main.match(/ngComponentDef\s*=/)) { - throw new Error('Ivy could not be found.'); - } - if (main.match(/ngDevMode/)) { - throw new Error('NgDevMode was not tree shaken away.'); - } - } finally { - await killAllProcesses(); - } -}