When multiple test suites are ran in parallel, multiple instances of the server are spun up for the same port. This causes suites to unpredictably fail due to hanging for more than than the allotted time by the jest configuration. When ran with --runInBand this issue disappears due to servers being spun up one at a time.
Nexus Report
Screenshot
Description
When multiple test suites are ran in parallel, multiple instances of the server are spun up for the same port. This causes suites to unpredictably fail due to hanging for more than than the allotted time by the jest configuration. When ran with
--runInBand
this issue disappears due to servers being spun up one at a time.Repro
https://github.com/MJGTwo/nexus-prisma-template