Skip to content

Commit

Permalink
documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
juergba committed Feb 11, 2019
1 parent a63e6d1 commit 3cc2848
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/afterEach` hook is deprecated and will be removed from a future version of Mocha. Use `return` instead to exit hook abortively.

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

0 comments on commit 3cc2848

Please sign in to comment.