Do you want to request a feature or report a bug?
Feature
What is the current behavior?
beforeAll and afterAll run before and after every test suite. Which makes concurrency impossible when your app starts a server.
Multiple test suites will attempt to spawn a server on the same port.
What is the expected behavior?
beforeOnce and afterOnce would run only once before any test suite is run, and after all test suites are done respectively.
Do you want to request a feature or report a bug?
Feature
What is the current behavior?
beforeAllandafterAllrun before and after every test suite. Which makes concurrency impossible when your app starts a server.Multiple test suites will attempt to spawn a server on the same port.
What is the expected behavior?
beforeOnceandafterOncewould run only once before any test suite is run, and after all test suites are done respectively.