Skip to content

Commit 137bf4e

Browse files
author
Seth Davenport
committed
npm run test:e2e broken on mac
Sorry to test on CI but that was the suggested workaround.
1 parent cb8f3ea commit 137bf4e

File tree

1 file changed

+6
-1
lines changed
  • tests/e2e/tests/build/styles

1 file changed

+6
-1
lines changed

tests/e2e/tests/build/styles/css.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {writeMultipleFiles, expectFileToMatch} from '../../../utils/fs';
1+
import {writeMultipleFiles, expectFileToMatch, readFile} from '../../../utils/fs';
22
import {ng} from '../../../utils/process';
33

44

@@ -18,6 +18,11 @@ export default function() {
1818
.then(() => ng('build'))
1919
.then(() => expectFileToMatch('dist/styles.bundle.js', 'body { background-color: blue; }'))
2020
.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+
})
2126
.then(() => expectFileToMatch(
2227
'dist/styles.bundle.js',
2328
'div { box-sizing: border-box; ' +

0 commit comments

Comments
 (0)