Skip to content

Commit

Permalink
documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
juergba committed Feb 12, 2019
1 parent 2b241a4 commit 383d5a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/index.md
Expand Up @@ -662,6 +662,8 @@ describe('outer', function() {
});
```

Skipping a test within an `after()` or `afterEach()` hook is deprecated and will throw an exception in a future version of Mocha. Use a return statement or other means to abort hook execution.

> Before Mocha v3.0.0, `this.skip()` was not supported in asynchronous tests and hooks.
## Retry Tests
Expand Down

0 comments on commit 383d5a6

Please sign in to comment.