Skip to content

Commit 20fd846

Browse files
committed
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
1 parent da2c71a commit 20fd846

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/e2e/tests/third-party/bootstrap.ts

-4
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,10 @@ export default function() {
1111
const app = configJson['apps'][0];
1212
app['styles'].push('../node_modules/bootstrap/dist/css/bootstrap.css');
1313
app['scripts'].push(
14-
'../node_modules/jquery/dist/jquery.js',
15-
'../node_modules/tether/dist/js/tether.js',
1614
'../node_modules/bootstrap/dist/js/bootstrap.js'
1715
);
1816
}))
1917
.then(() => ng('build', '--extract-css'))
20-
.then(() => expectFileToMatch('dist/scripts.bundle.js', '* jQuery JavaScript'))
21-
.then(() => expectFileToMatch('dist/scripts.bundle.js', '/*! tether '))
2218
.then(() => expectFileToMatch('dist/scripts.bundle.js', '* Bootstrap'))
2319
.then(() => expectFileToMatch('dist/styles.bundle.css', '* Bootstrap'))
2420
.then(() => expectFileToMatch('dist/index.html', oneLineTrim`

0 commit comments

Comments
 (0)