Hi @ricky.fm, @danabra.mov! I'm trying to migrate vitest-browser-react to use the new `await act` approach. I have a test where I try to assert a suspended component shows fallback and then the content when it's ready. I remember reading there's a threshold for showing fallback but couldn't find it.
Post
This is the test: github.com/vitest-dev/v... Thanks!
github.comfeat: support async act by MatanBobi · Pull Request #10 · vitest-dev/vitest-browser-reactResolves #9
Still need to add a test for a suspended component, will work on it soon.
Test added.
0 reposts0 likes