diff options
Diffstat (limited to 'test/test-pages/001/expected.html')
-rw-r--r-- | test/test-pages/001/expected.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test-pages/001/expected.html b/test/test-pages/001/expected.html index bf3075c..c101aec 100644 --- a/test/test-pages/001/expected.html +++ b/test/test-pages/001/expected.html @@ -1,4 +1,4 @@ -<section><p><strong>So finally you're <a href="/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> @@ -34,7 +34,7 @@ with nodejs.</em> <a href="https://raw.github.com/alex-seville/blanket/master/src/adapters/mocha-blanket.js">mocha-blanket.js</a> </p> <p>As an example, let's reuse the silly <code>Cow</code> example we used - <a href="/code/2013/testing-frontend-javascript-code-using-mocha-chai-and-sinon/">in a previous episode</a>:</p> + <a href="http://fakehost/code/2013/testing-frontend-javascript-code-using-mocha-chai-and-sinon/">in a previous episode</a>:</p> <pre><code>// cow.js (function(exports) { "use strict"; @@ -111,7 +111,7 @@ describe("Cow", function() { be loaded.</li> </ul><p>Running the tests now gives us something like this:</p> <p> - <img alt="screenshot" src="/static/code/2013/blanket-coverage.png"></img></p> + <img alt="screenshot" src="http://fakehost/static/code/2013/blanket-coverage.png"></img></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 |