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
There are lots of callbacks (promises in FF) in the web-extension API. And I guess it would be fair to implement all functions with them so, that the callbacks/promises would be called immediately.
Now, one have to overwrite all mocked function, where callback call is needed, with new mock with implementation with callback call weather any other than call is needed or not.
Issues
What to pass as parameters which are often needed?
The text was updated successfully, but these errors were encountered:
This is more for discussion than anything.
There are lots of callbacks (promises in FF) in the web-extension API. And I guess it would be fair to implement all functions with them so, that the callbacks/promises would be called immediately.
Now, one have to overwrite all mocked function, where callback call is needed, with new mock with implementation with callback call weather any other than call is needed or not.
Issues
What to pass as parameters which are often needed?
The text was updated successfully, but these errors were encountered: