I tried to play around with the run loop but didn’t find how to handle this correctly. I had thought at first that with the running loop being manually managed in the tests calling
triggerEvent right after
visit would propagate the event directly and that calling
andThen after would let the promises complete and make my test pass
btw: the feature I’m trying to implement seems to be working in the dummy application.