File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
tests/e2e/tests/third-party Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -23,5 +23,19 @@ export default function() {
2323 <script type="text/javascript" src="scripts.bundle.js"></script>
2424 <script type="text/javascript" src="vendor.bundle.js"></script>
2525 <script type="text/javascript" src="main.bundle.js"></script>
26+ ` ) )
27+ . then ( ( ) => ng (
28+ 'build' ,
29+ '--prod' ,
30+ '--extract-css' ,
31+ '--output-hashing=none'
32+ ) )
33+ . then ( ( ) => expectFileToMatch ( 'dist/scripts.bundle.js' , 'jQuery' ) )
34+ . then ( ( ) => expectFileToMatch ( 'dist/styles.bundle.css' , '* Bootstrap' ) )
35+ . then ( ( ) => expectFileToMatch ( 'dist/index.html' , oneLineTrim `
36+ <script type="text/javascript" src="inline.bundle.js"></script>
37+ <script type="text/javascript" src="polyfills.bundle.js"></script>
38+ <script type="text/javascript" src="scripts.bundle.js"></script>
39+ <script type="text/javascript" src="main.bundle.js"></script>
2640 ` ) ) ;
2741}
You can’t perform that action at this time.
0 commit comments