I am running into a problem writing a test for resetting a stream in an event. I expect that resetting a stream would remove the previously inserted elements, but it seems that it does not.
It works fine when manually testing in the browser, so this seems to be an issue with my test itself or with LiveViewTest.
I wrote a failing test here: Demonstrate stream reset on patch · phoenixframework/phoenix_live_view@98f0568 · GitHub
Does anyone have an idea what the problem might be?