From 60e2f84a83c373153f2001f3494ff25fb17c5ec9 Mon Sep 17 00:00:00 2001 From: Mike Brocchi Date: Fri, 11 Aug 2017 10:33:36 -0400 Subject: [PATCH] fix(@angular/cli): Update bootstrap test based upon beta The upgrade from alpha to beta of bootstrap 4 dropped the dependency on jQuery Fixes #7358 --- tests/e2e/tests/third-party/bootstrap.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/e2e/tests/third-party/bootstrap.ts b/tests/e2e/tests/third-party/bootstrap.ts index 6208fd17637f..6cf6626c37c8 100644 --- a/tests/e2e/tests/third-party/bootstrap.ts +++ b/tests/e2e/tests/third-party/bootstrap.ts @@ -11,14 +11,10 @@ export default function() { const app = configJson['apps'][0]; app['styles'].push('../node_modules/bootstrap/dist/css/bootstrap.css'); app['scripts'].push( - '../node_modules/jquery/dist/jquery.js', - '../node_modules/tether/dist/js/tether.js', '../node_modules/bootstrap/dist/js/bootstrap.js' ); })) .then(() => ng('build', '--extract-css')) - .then(() => expectFileToMatch('dist/scripts.bundle.js', '* jQuery JavaScript')) - .then(() => expectFileToMatch('dist/scripts.bundle.js', '/*! tether ')) .then(() => expectFileToMatch('dist/scripts.bundle.js', '* Bootstrap')) .then(() => expectFileToMatch('dist/styles.bundle.css', '* Bootstrap')) .then(() => expectFileToMatch('dist/index.html', oneLineTrim`