diff --git a/tests/e2e/tests/build/styles/extract-css.ts b/tests/e2e/tests/build/styles/extract-css.ts
index b0d5a80f81c2..ff08c2aef1de 100644
--- a/tests/e2e/tests/build/styles/extract-css.ts
+++ b/tests/e2e/tests/build/styles/extract-css.ts
@@ -53,8 +53,9 @@ export default function () {
`))
.then(() => expectFileToMatch('dist/index.html', oneLineTrim`
-
+
+
`))
// also check when css isn't extracted
@@ -70,10 +71,11 @@ export default function () {
// index.html lists the right bundles
.then(() => expectFileToMatch('dist/index.html', oneLineTrim`
-
+
+
+
-
`));
}