☕️ Classic, reliable, trusted test framework for Node.js and the browser
docs: fix javascript syntax errors (#4555)
JeongHoon Byun (a.k.a Outsider)c667d1060f97
diff --git a/docs/index.md b/docs/index.mdindex aa1d0e57..b039931a 100644--- a/docs/index.md+++ b/docs/index.md@@ -1498,12 +1498,12 @@ Your `test/hooks.js` (for this example, a CJS module) should contain:// test/hooks.jsexports.mochaHooks = {- beforeEach(function() {+ beforeEach: function() {// global setup for all tests- }),- afterAll(function() {+ },+ afterAll: function() {// one-time final cleanup- })+ }};```