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
I just submitted PR #216. My bad for not seeing #209 already fixes this, though you might prefer to merge #216, as its getModuleDefault function can be reused on more future module requires.
When these lines run in a webpack build, https://github.com/pretenderjs/pretender/blob/master/pretender.js#L8-L9
RouteRecognizer
andFakeXMLHttpRequest
point to the module, not thedefault
export.Monkey patching it with this code makes it work:
Not sure what the long term solution is though.
The text was updated successfully, but these errors were encountered: