Skip to content

Commit

Permalink
documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
juergba committed Feb 9, 2019
1 parent 4b96355 commit 0f6ac3c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/index.md
Expand Up @@ -663,6 +663,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 0f6ac3c

Please sign in to comment.