Skip to content

test runner: dors the after hook run After failure ?Β #50901

Closed
@jehon

Description

@jehon

Affected URL(s)

https://nodejs.org/api/test.html#afterfn-options

Description of the problem

In the document,it is unclear wether the after hook is run when the test did failed.
Same for the afterEach hook.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to the documentations.good first issueIssues that are suitable for first-time contributors.test_runnerIssues and PRs related to the test runner subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions