Plugin to skip failing regression tests for Jest api?

I currently have a set of E2E api tests in a suite.
The test suite contains 8 E2E test journeys
What I encounter is a test might fail and it continues running in a forever loop and does not go to next test.
I have checked jest and there is nothing I can see to help to resolve this.
Is there a plug in to use to skip the failed test?
Or this there an alternative?

I’m not a jest expert, but can you set a suitable"max timeout" for a single test or all tests? For example all tests will timeout after X seconds/minutes.


1 Like

Thanks for the help… Managed to solve it by
update jest.config.js from testEnvironment: 'node', to testEnvironment: 'steps',