reportportal / agent-js-jest

Agent to integrate Jest with ReportPortal.
https://www.npmjs.com/package/@reportportal/agent-js-jest
Apache License 2.0
21 stars 37 forks source link

Treat unknown test statuses as "skipped" #63

Closed bennbollay closed 3 years ago

bennbollay commented 3 years ago

_finishTest does not handle 'todo', 'pending', and 'disabled'. These can cause the test run to never be 'closed', leaving the launch hanging in limbo.

This change treats all unknown entries as "skipped", and close them properly.