Skip to content

Commit

Permalink
fix(@angular/cli): Update bootstrap test based upon beta
Browse files Browse the repository at this point in the history
The upgrade from alpha to beta of bootstrap 4 dropped the dependency on jQuery

Fixes #7358
  • Loading branch information
Brocco committed Aug 17, 2017
1 parent da2c71a commit 20fd846
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/e2e/tests/third-party/bootstrap.ts
Expand Up @@ -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`
Expand Down

0 comments on commit 20fd846

Please sign in to comment.