File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
tests/e2e/tests/build/styles Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 1
- import { writeMultipleFiles , expectFileToMatch } from '../../../utils/fs' ;
1
+ import { writeMultipleFiles , expectFileToMatch , readFile } from '../../../utils/fs' ;
2
2
import { ng } from '../../../utils/process' ;
3
3
4
4
@@ -18,6 +18,11 @@ export default function() {
18
18
. then ( ( ) => ng ( 'build' ) )
19
19
. then ( ( ) => expectFileToMatch ( 'dist/styles.bundle.js' , 'body { background-color: blue; }' ) )
20
20
. then ( ( ) => expectFileToMatch ( 'dist/styles.bundle.js' , 'p { background-color: red; }' ) )
21
+ . then ( ( ) => readFile ( 'dist/styles.bundle.js' ) )
22
+ . then ( contents => {
23
+ console . log ( contents ) ;
24
+ return contents ;
25
+ } )
21
26
. then ( ( ) => expectFileToMatch (
22
27
'dist/styles.bundle.js' ,
23
28
'div { box-sizing: border-box; ' +
You can’t perform that action at this time.
0 commit comments