This repository is meant to showcase a question about Jest reporter API.
It contains
- dummy features
- tests of these dummy features and
- a dummy reporter of which event handlers merely write their name to the console.
The Reporter interface in jest/packages/jest-reporters/types defines following methods:
onRunStartonTestStartonTestResultonTestFileStartonTestCaseResultonTestFileResultonRunCompletegetLastError
In the course of test run below event handlers are not called at all:
onTestStartonTestResult
Why are they not called?
Is there some mistake in my code?
Are these event handlers decommissioned, i.e. is Reporter interface out of sync with current behavior?