Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need way to bypass waitAssets selectively #1000

Open
Jamie5 opened this issue Jan 22, 2025 · 1 comment
Open

Need way to bypass waitAssets selectively #1000

Jamie5 opened this issue Jan 22, 2025 · 1 comment

Comments

@Jamie5
Copy link
Contributor

Jamie5 commented Jan 22, 2025

waitAssets is of course quite useful, but there are times you want to allow some requests to still be waiting - for example, to test a loading state (with the play function) you want to open a page, but not let a request complete (so that the loading state stays visible). And if that request happens to be a GET, then ResourceWatcher will stay stuck on it. (Note that requests are mocked out with msw, though I don't think that's necessarily relevant here)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@Jamie5 and others