Skip to content

armgit / mocha

Public Imported from GitHub
0

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

fixed tpyo

Christopher Hiller7cd79e5030a4
diff --git a/index.md b/index.md
index f46b6edd..9f2c3665 100644
--- a/index.md
+++ b/index.md
@@ -162,7 +162,7 @@ Testing asynchronous code with Mocha could not be simpler! Simply invoke the cal
})
})
- Alternately, instead of using the `done()` callback, you can return a promise. This useful if the APIs you are testing return promises instead of taking callbacks:
+ Alternately, instead of using the `done()` callback, you can return a promise. This is useful if the APIs you are testing return promises instead of taking callbacks:
beforeEach(function(){
return db.clear().then(function() {