Skip to content

Commit

Permalink
Update cli-and-configuration.md to not be in quirks mode
Browse files Browse the repository at this point in the history
Probably dont want people running in browser quirks mode (like we have in Shoelace 🙈 )
  • Loading branch information
KonnorRogers authored Jul 24, 2024
1 parent 47344bc commit 1f52833
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/docs/test-runner/cli-and-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,8 @@ For example to expose the global `process` variable:
```js
export default {
testRunnerHtml: testFramework =>
`<html>
`<!DOCTYPE html>
<html>
<body>
<script>window.process = { env: { NODE_ENV: "development" } }</script>
<script type="module" src="${testFramework}"></script>
Expand Down Expand Up @@ -322,7 +323,8 @@ export default {
{
name: 'polyfills-a',
testRunnerHtml: testFramework =>
`<html>
`<!DOCTYPE html>
<html>
<body>
<script src="./polyfills-a.js"></script>
<script type="module" src="${testFramework}"></script>
Expand All @@ -332,7 +334,8 @@ export default {
{
name: 'polyfills-b',
testRunnerHtml: testFramework =>
`<html>
`<!DOCTYPE html>
<html>
<body>
<script src="./polyfills-b.js"></script>
<script type="module" src="${testFramework}"></script>
Expand Down

0 comments on commit 1f52833

Please sign in to comment.