-
Notifications
You must be signed in to change notification settings - Fork 558
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Make ResponseWrapper
an instance of Response
#2889
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2889 +/- ##
=======================================
Coverage 94.49% 94.49%
=======================================
Files 486 486
Lines 10401 10404 +3
Branches 1595 1596 +1
=======================================
+ Hits 9828 9831 +3
Misses 573 573 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
packages/snaps-execution-environments/src/common/endowments/network.ts
Outdated
Show resolved
Hide resolved
packages/snaps-execution-environments/src/common/endowments/endowments.test.browser.ts
Outdated
Show resolved
Hide resolved
packages/snaps-execution-environments/src/common/endowments/network.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
d2a506a
to
89024f6
Compare
Overwrite
[Symbol.hasInstance]
on the exposedResponse
class slightly to makeResponseWrapper
passinstanceof
checks. This preventsfetch
responses from failing when using WASM bindgen for instance.Fixes #2891