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() {
23
23
<script type="text/javascript" src="scripts.bundle.js"></script>
24
24
<script type="text/javascript" src="vendor.bundle.js"></script>
25
25
<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>
26
40
` ) ) ;
27
41
}
You can’t perform that action at this time.
0 commit comments