@@ -35,13 +35,6 @@ describe('Basic end-to-end Workflow', function () {
3535
3636 var testArgs = [ 'test' , '--watch' , 'false' ] ;
3737
38- // In travis CI only run tests in Chrome_travis_ci
39- if ( process . env . TRAVIS ) {
40- testArgs . push ( '--browsers' ) ;
41- testArgs . push ( 'Chrome_travis_ci' ) ;
42- }
43-
44-
4538 it ( 'Installs angular-cli correctly' , function ( ) {
4639 this . timeout ( 300000 ) ;
4740
@@ -492,7 +485,7 @@ describe('Basic end-to-end Workflow', function () {
492485 let stylesPath = path . join ( process . cwd ( ) , 'src' , 'styles.css' ) ;
493486 let testStyle = 'body { background-color: blue; }' ;
494487 fs . writeFileSync ( stylesPath , testStyle , 'utf8' ) ;
495-
488+
496489 sh . exec ( `${ ngBin } build` ) ;
497490
498491 var stylesBundlePath = path . join ( process . cwd ( ) , 'dist' , 'styles.bundle.js' ) ;
@@ -548,15 +541,15 @@ describe('Basic end-to-end Workflow', function () {
548541 expect ( stylesBundleContent ) . to . include ( '* Bootstrap ' ) ;
549542
550543 const scriptsBundlePath = path . join ( process . cwd ( ) , 'dist' , 'scripts.bundle.js' ) ;
551- const scriptsBundleContent = fs . readFileSync ( scriptsBundlePath , { encoding : 'utf8' } ) ;
544+ const scriptsBundleContent = fs . readFileSync ( scriptsBundlePath , { encoding : 'utf8' } ) ;
552545 expect ( scriptsBundleContent ) . to . include ( '* jQuery JavaScript' ) ;
553546 expect ( scriptsBundleContent ) . to . include ( '/*! tether ' ) ;
554547 expect ( scriptsBundleContent ) . to . include ( '* Bootstrap ' ) ;
555548
556549 // check the scripts are loaded in the correct order
557550 const indexPath = path . join ( process . cwd ( ) , 'dist' , 'index.html' ) ;
558551 const indexContent = fs . readFileSync ( indexPath , { encoding : 'utf8' } ) ;
559- let scriptTags = '<script type="text/javascript" src="inline.js"></script>' +
552+ let scriptTags = '<script type="text/javascript" src="inline.js"></script>' +
560553 '<script type="text/javascript" src="styles.bundle.js"></script>' +
561554 '<script type="text/javascript" src="scripts.bundle.js"></script>' +
562555 '<script type="text/javascript" src="main.bundle.js"></script>'
0 commit comments