Change the interface to return an object so we can subscribe to events, rather than returning a promise directly. We could include the context for the test in each event. The test runner could then introduce a progress meter while the tests are running, although we don’t know how many tests are going to run, so it wouldn’t be a progress meter per se.
Change the interface to return an object so we can subscribe to events, rather than returning a promise directly. We could include the context for the test in each event. The test runner could then introduce a progress meter while the tests are running, although we don’t know how many tests are going to run, so it wouldn’t be a progress meter per se.