Hello, I’ve been scouring the internet for a solution to the above problem in vain. My tests pass when run locally and in the Circle CI test, but the process fails with the error shown above.
Is there a workaround for this?
The Too long with no output error will appear when a process hangs, and no further output is generated before the timeout limit is reached (default is 10 minutes). In this case, increasing the timeout limit will not help if the process never exits.
One thing I would like to have you try is to change the command in this step to the following as it should give you more information as to what is hanging:
npm test --forceExit
Following that, you can try to adjust your tests to see if that fixes it.
It seems that running it with the option --watchAll causes it to hang for some reason after finishing all of the tests.