Skip to content

Commit

Permalink
docs: fix javascript syntax errors (#4555)
Browse files Browse the repository at this point in the history
Signed-off-by: Outsider <outsideris@gmail.com>
  • Loading branch information
outsideris authored Jan 19, 2021
1 parent 6eb3c3c commit c667d10
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -1498,12 +1498,12 @@ Your `test/hooks.js` (for this example, a CJS module) should contain:
// test/hooks.js

exports.mochaHooks = {
beforeEach(function() {
beforeEach: function() {
// global setup for all tests
}),
afterAll(function() {
},
afterAll: function() {
// one-time final cleanup
})
}
};
```

Expand Down

0 comments on commit c667d10

Please sign in to comment.