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
as stated in the title, i'm running into an issue where we're entering this if block because !response.url === true. however, request is undefined. this results in error cascading back up the chain. i'm not fully aware of the entire repo architecture at the moment, so i can't raise PR. should this be surrounded with try/catch? check in if condition that request !== undefined? use nullish coalescing operator request?.url ?? ""?
thanks in advance!
The text was updated successfully, but these errors were encountered:
msw/src/browser/setupWorker/start/createResponseListener.ts
Line 58 in d97a528
as stated in the title, i'm running into an issue where we're entering this if block because
!response.url === true
. however, request is undefined. this results in error cascading back up the chain. i'm not fully aware of the entire repo architecture at the moment, so i can't raise PR. should this be surrounded with try/catch? check in if condition thatrequest !== undefined
? use nullish coalescing operatorrequest?.url ?? ""
?thanks in advance!
The text was updated successfully, but these errors were encountered: