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
Hey! 👋 The Miniflare 2 pre-release (miniflare@next) includes support for these events.
I understand from #103 (comment) that you're currently using CommonJS imports though. What's your use case, and is there a reason you can't use dynamic await import("miniflare")?
ops sorry, every time I use GitHub to search it doesn't take a look inside branches 😭
I can't use dynamic import because jest has some problem with that and looks like it's actually a v8 thing nodejs/node#35889
I'm using miniflare to emulate the runtime before ship code to production, and since the issue with jest (and is not possible to move jest out of the project) I'm still stuck at miniflare v1
Hello,
According to CF Workers release, the environment supports
unhandledrejection
andrejectionhandled
events.I double-check at miniflare code and looks like these events are not supported yet.
Do you think could be easy to add them?
source code related:
miniflare/src/modules/events.ts
Line 114 in e7aee35
The text was updated successfully, but these errors were encountered: