summaryrefslogtreecommitdiff
path: root/test/test-pages/001
diff options
context:
space:
mode:
authorFiveFilters.org <[email protected]>2021-08-11 23:46:14 +0200
committerFiveFilters.org <[email protected]>2021-08-11 23:46:14 +0200
commit618a3c5a2c7e15efc7957dcb8c5da62526681dbc (patch)
treea41461fe6604e03b626fb3af5ee76b25c6d5ba71 /test/test-pages/001
parent70287db73ace7e97dd4367f30208a792f4bafb63 (diff)
Update test pages to use HTML5PHP output as expected output
Diffstat (limited to 'test/test-pages/001')
-rw-r--r--test/test-pages/001/expected.html18
1 files changed, 11 insertions, 7 deletions
diff --git a/test/test-pages/001/expected.html b/test/test-pages/001/expected.html
index e05810f..0998436 100644
--- a/test/test-pages/001/expected.html
+++ b/test/test-pages/001/expected.html
@@ -1,4 +1,5 @@
-<section><p><strong>So finally you're <a href="http://fakehost/code/2013/testing-frontend-javascript-code-using-mocha-chai-and-sinon/">testing your frontend JavaScript code</a>? Great! The more you
+<section>
+ <p><strong>So finally you're <a href="http://fakehost/code/2013/testing-frontend-javascript-code-using-mocha-chai-and-sinon/">testing your frontend JavaScript code</a>? Great! The more you
write tests, the more confident you are with your code… but how much precisely?
That's where <a href="http://en.wikipedia.org/wiki/Code_coverage">code coverage</a> might
help.</strong>
@@ -15,9 +16,9 @@ help.</strong>
actually works…</p>
<blockquote>
<p>Drinking game for web devs:
- <br></br>(1) Think of a noun
- <br></br>(2) Google "&lt;noun&gt;.js"
- <br></br>(3) If a library with that name exists - drink</p>— Shay Friedman (@ironshay)
+ <br>(1) Think of a noun
+ <br>(2) Google "&lt;noun&gt;.js"
+ <br>(3) If a library with that name exists - drink</p>— Shay Friedman (@ironshay)
<a href="https://twitter.com/ironshay/statuses/370525864523743232">August 22, 2013</a>
</blockquote>
<p><strong><a href="http://blanketjs.org/">Blanket.js</a></strong> is an <em>easy to install, easy to configure,
@@ -105,13 +106,16 @@ describe("Cow", function() {
</code></pre>
<p><strong>Notes</strong>:</p>
- <ul><li>Notice the <code>data-cover</code> attribute we added to the script tag
+ <ul>
+ <li>Notice the <code>data-cover</code> attribute we added to the script tag
loading the source of our library;</li>
<li>The HTML test file <em>must</em> be served over HTTP for the adapter to
be loaded.</li>
- </ul><p>Running the tests now gives us something like this:</p>
+ </ul>
+ <p>Running the tests now gives us something like this:</p>
<p>
- <img alt="screenshot" src="http://fakehost/static/code/2013/blanket-coverage.png"></img></p>
+ <img alt="screenshot" src="http://fakehost/static/code/2013/blanket-coverage.png">
+ </p>
<p>As you can see, the report at the bottom highlights that we haven't actually
tested the case where an error is raised in case a target name is missing.
We've been informed of that, nothing more, nothing less. We simply know