Andrey Azov

Results 14 comments of Andrey Azov

I'll just leave Dan's [code sandbox](https://codesandbox.io/s/kind-sammet-j56ro?file=/src/App.js) here, from a comment where he said that React.lazy "just works" now. Perhaps this is what the recommended way of doing this now is.

[This issue in the Node repo](https://github.com/nodejs/node/issues/47612) suggests that it may be a Node bug.

For reference: the related [PR](https://github.com/nodejs/node/pull/47613) was merged into Node last week, and the related Node [issue](https://github.com/nodejs/node/issues/47612) was marked as completed.

I can confirm that `userEvent.setup({ advanceTimers: vi.advanceTimersByTime.bind(vi) })` works after stubbing the global `jest` object, and does not work without the stubbing; but this looks like black magic. The `Options`...