-
Notifications
You must be signed in to change notification settings - Fork 325
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: HTTP recovery in the same tab #876
Conversation
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.
Thank you @abueide, looks good! ❤️
The tests should be easy to fix actually: just replace every occurrence of tabs.create
with tabs.update
in test/functional/lib/ipfs-request-gateway-recover.test.js
– we are just checking if WebExtension API was called, and the only thing changed is the name of the API methog :)
If that does not help, let me know, I'll take a closer look 👍
@lidel To check changes on tests I just do npm run dev-build and then npm test right? I'm still getting the same test failures after I changed them all. |
@abueide ah, I believe you need to remove all occurrences of That should fix remaining tests :) |
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.
All green, works as expected, I'm gonna merge this.
Thank you @abueide! 👍
The changes caused some tests to fail, and I'm not sure my javascript skills are good enough to figure out how to fix them properly without just deleting them.