Skip to content

Commit d1cda0e

Browse files
author
Seth Davenport
committed
test with something that actually needs prefixing (duh)
1 parent 137bf4e commit d1cda0e

File tree

1 file changed

+3
-10
lines changed
  • tests/e2e/tests/build/styles

1 file changed

+3
-10
lines changed

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

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

44

@@ -12,20 +12,13 @@ export default function() {
1212
div { box-sizing: border-box }
1313
`,
1414
'src/imported-styles.css': `
15-
p { background-color: red; }
15+
p { flex: 1 }
1616
`
1717
})
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-
})
2621
.then(() => expectFileToMatch(
2722
'dist/styles.bundle.js',
28-
'div { box-sizing: border-box; ' +
29-
'-moz-box-sizing: border-box; ' +
30-
'-webkit-box-sizing: border-box }'));
23+
'div { -webkit-box-flex: 1; -ms-flex: 1; flex: 1 }'));
3124
}

0 commit comments

Comments
 (0)