You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...then it kind of works, but you encounter some quirks.
First, Yarn doesn't seem to exit when the running script exits. So even though Rugged is actually exiting, Yarn just hangs and you need to send another SIGINT to get it to exit:
You can see that this isn't the case whenever you run Rugged directly (not through yarn test):
The more problematic quirk is that Listr doesn't seem to cancel the currently running list, and there's no way to do so manually using its API. So sometimes the list can be printed twice, which isn't too bad:
But other times, it can look like this:
Notice that it not only flashed funny, but also continued on to the next Listr and started testing the test projects.
If a
SIGINT
signal is received, we should call thefinishUp()
function to help ensure test projects are reset properly.The text was updated successfully, but these errors were encountered: