mswjs / msw

Industry standard API mocking for JavaScript.
https://mswjs.io
MIT License
15.97k stars 519 forks source link

chore(iframe): await `window.request` to be set #2252

Closed kettanaito closed 3 weeks ago

kettanaito commented 2 months ago

Attempt to address a flaky browser-side iframe.test.ts.

kettanaito commented 2 months ago

Hm. Awaiting the function seems not to be enough. The tests now time out that it's never defined. This may be the frame setup issue then. Needs deeper investigation.

kettanaito commented 3 weeks ago

I believe this should be fixed by the recent changes that await the idle network state in the frame-related tests (#2324).