Skip to content

Commit 55ce996

Browse files
authored
docs: update cli-and-configuration.md to not be in quirks mode (#2770)
1 parent 47344bc commit 55ce996

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

docs/docs/test-runner/cli-and-configuration.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,8 @@ For example to expose the global `process` variable:
221221
```js
222222
export default {
223223
testRunnerHtml: testFramework =>
224-
`<html>
224+
`<!DOCTYPE html>
225+
<html>
225226
<body>
226227
<script>window.process = { env: { NODE_ENV: "development" } }</script>
227228
<script type="module" src="${testFramework}"></script>
@@ -322,7 +323,8 @@ export default {
322323
{
323324
name: 'polyfills-a',
324325
testRunnerHtml: testFramework =>
325-
`<html>
326+
`<!DOCTYPE html>
327+
<html>
326328
<body>
327329
<script src="./polyfills-a.js"></script>
328330
<script type="module" src="${testFramework}"></script>
@@ -332,7 +334,8 @@ export default {
332334
{
333335
name: 'polyfills-b',
334336
testRunnerHtml: testFramework =>
335-
`<html>
337+
`<!DOCTYPE html>
338+
<html>
336339
<body>
337340
<script src="./polyfills-b.js"></script>
338341
<script type="module" src="${testFramework}"></script>

0 commit comments

Comments
 (0)