Commit 55ce996 1 parent 47344bc commit 55ce996 Copy full SHA for 55ce996
File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -221,7 +221,8 @@ For example to expose the global `process` variable:
221
221
``` js
222
222
export default {
223
223
testRunnerHtml : testFramework =>
224
- ` <html>
224
+ ` <!DOCTYPE html>
225
+ <html>
225
226
<body>
226
227
<script>window.process = { env: { NODE_ENV: "development" } }</script>
227
228
<script type="module" src="${ testFramework} "></script>
@@ -322,7 +323,8 @@ export default {
322
323
{
323
324
name: ' polyfills-a' ,
324
325
testRunnerHtml : testFramework =>
325
- ` <html>
326
+ ` <!DOCTYPE html>
327
+ <html>
326
328
<body>
327
329
<script src="./polyfills-a.js"></script>
328
330
<script type="module" src="${ testFramework} "></script>
@@ -332,7 +334,8 @@ export default {
332
334
{
333
335
name: ' polyfills-b' ,
334
336
testRunnerHtml : testFramework =>
335
- ` <html>
337
+ ` <!DOCTYPE html>
338
+ <html>
336
339
<body>
337
340
<script src="./polyfills-b.js"></script>
338
341
<script type="module" src="${ testFramework} "></script>
You can’t perform that action at this time.
0 commit comments