Skip to content

armgit / mocha

Public Imported from GitHub
0

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

Documented suiteSetup and suiteTearDown

David Henderson95c7f2e79d51
diff --git a/index.md b/index.md
index a2b01940..9c7162e1 100644
--- a/index.md
+++ b/index.md
@@ -243,7 +243,7 @@ Testing asynchronous code with Mocha could not be simpler! Simply invoke the cal
### TDD
- The "__TDD__" interface provides `suite()`, `test()`, `setup()`, and `teardown()`.
+ The "__TDD__" interface provides `suite()`, `test()`, `setup()`, `teardown()`, `suiteSetup()` and `suiteTeardown()`.
suite('Array', function(){
setup(function(){