Skip to content

Commit 6dbe180

Browse files
committed
fix(build): Update e2e test for styles
1 parent ebe2e35 commit 6dbe180

File tree

1 file changed

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

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ export default function() {
66
return writeMultipleFiles({
77
'src/styles.css': `
88
@import './imported-styles.css';
9-
9+
1010
body { background-color: blue; }
1111
`,
1212
'src/imported-styles.css': `
1313
p { background-color: red; }
1414
`
1515
})
1616
.then(() => ng('build'))
17-
.then(() => expectFileToMatch('dist/styles.bundle.js', 'body { background-color: blue; }'))
18-
.then(() => expectFileToMatch('dist/styles.bundle.js', 'p { background-color: red; }'));
17+
.then(() => expectFileToMatch('dist/styles.css', 'body { background-color: blue; }'))
18+
.then(() => expectFileToMatch('dist/styles.css', 'p { background-color: red; }'));
1919
}

0 commit comments

Comments
 (0)