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
lib: refactor lazy loading of undici for fetch method
Object.defineProperty is updated to lazily load the undici dependency for
the fetch method. This change allows for simpler and more reliable mocking
of the fetch method for testing purposes, resolving issues encountered
with premature method invocation during testing.
Fixes: nodejs#52015
0 commit comments