Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

Fix grammatical error

kavuna106773ee5c4
diff --git a/index.html b/index.html
index c1a900f3..36249a7f 100644
--- a/index.html
+++ b/index.html
@@ -196,7 +196,7 @@ $ mocha
})
</code></pre>
-<p>Alternately, instead of using the <code>done()</code> callback, you can return a promise. This useful if the APIs you are testing return promises instead of taking callbacks:</p>
+<p>Alternately, instead of using the <code>done()</code> callback, you can return a promise. This is useful if the APIs you are testing return promises instead of taking callbacks:</p>
<pre><code>beforeEach(function(){
return db.clear().then(function() {
@@ -826,4 +826,4 @@ testCase('Array', function(){
<span>© 2011 TJ Holowaychuk. All rights reserved.</span>
</footer>
</body>
-</html>
\ No newline at end of file
+</html>