Command 'jest' doesn't get executed (runs endless)

I am currently trying to setup circleci for my open source project.
But if I run the CircleCi, which at first builds the project and than tests it with jest, gets stuck on the ‘jest’ command.
I don’t know why and I couldn’t find any solution yet.

Here is the cirlceci yaml config:

Thank you

Could you try running jest with the --runInBand option?
--clearCache can help to rule out any caching issues as it does look like you are making use of caching.

1 Like

Hey Mike…
Thanks for your answer :smiley:

I have already tried to clear the Jest Cache… but this didn’t fix my issue…
But if I use the ‘–runInBand’ flag it works as expected.

Thank you :smiley:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.