An open API service indexing awesome lists of open source software.

https://github.com/danieldiekmeier/jest-custom-reporter-reproduction


https://github.com/danieldiekmeier/jest-custom-reporter-reproduction

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# Reproduction: Jest Reporters run in different order after Jest 28

The Jest issue this belongs to: https://github.com/facebook/jest/issues/14052

```sh
npm install
npm test
```

There is a custom reporter in `reporter.js`, which wants to use the coverage information. But the coverage information is only collected after the custom reporter is already finished.

Using a `setInterval`, we can poll until the CoverageReporter is done.