Revert "test_runner: do not invoke after hook when test is empty" · nodejs/node@85aa6ca · GitHub
Skip to content

Commit 85aa6ca

Browse files
cjihrigtargos
authored andcommitted
Revert "test_runner: do not invoke after hook when test is empty"
This reverts commit a53fd95. This caused a regression because the original issue this commit was attempting to fix is not a bug. The after() hook should always run. Fixes: #51997 PR-URL: #51998 Reviewed-By: Matthew Aitken <maitken033380023@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
1 parent 7ff3551 commit 85aa6ca

2 files changed

Lines changed: 1 addition & 13 deletions

File tree

lib/internal/test_runner/test.js

Lines changed: 1 addition & 3 deletions

test/parallel/test-runner-skip-after-hook.js

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)