You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@fourdim Just a friendly ping as you might be interested. I raised an issue on @sinonjs/fake-timersregarding some inconsistency between setImmediate and other timers (which include requestIdleCallback) sinonjs/fake-timers#490 and they might end up changing the behavior to not allow mocking requestIdleCallback in NodeJS environment where it's originally not available, so you might require adjusting the code there eventually.
If you have a valid use case, they might want to know the detail. I'll just a link to their PR here
Blocksuite uses requestIdleCallback here, which causes
@blocksuite/store
can't run in nodejs, which causes trouble for writing test.blocksuite/packages/store/src/indexer/search.ts
Line 122 in 2431e2e
I think I can add a simple check whether the environment supports requestIdleCallback
The text was updated successfully, but these errors were encountered: