I have a test where I want to check for one specific event using rf-test/wait-for. This event cascades some dispatches of other events, which seem to bleed into other async tests if I don't explicitly wait for them to occur. Ideally if the test ends re-frame-test would kill all pending events. My current workaround is to add a wait-for at the end of the test for the last event in the event chain so that pending event's don't infect the other tests.
I have a test where I want to check for one specific event using
rf-test/wait-for. This event cascades some dispatches of other events, which seem to bleed into other async tests if I don't explicitly wait for them to occur. Ideally if the test ends re-frame-test would kill all pending events. My current workaround is to add await-forat the end of the test for the last event in the event chain so that pending event's don't infect the other tests.