diff --git a/doc/api/test.md b/doc/api/test.md index 276cfc32b6f571..964fdc2732fe89 100644 --- a/doc/api/test.md +++ b/doc/api/test.md @@ -1420,6 +1420,9 @@ describe('tests', async () => { }); ``` +**Note:** The `after` hook is guaranteed to run, +even if tests within the suite fail. + ## `beforeEach([fn][, options])`