Skip to content

zoltan-boros/dummy-jest-reporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dummy Jest Repporter

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:

  • onRunStart
  • onTestStart
  • onTestResult
  • onTestFileStart
  • onTestCaseResult
  • onTestFileResult
  • onRunComplete
  • getLastError

In the course of test run below event handlers are not called at all:

  • onTestStart
  • onTestResult

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?

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published