Skip to content
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

sendMessage API has an updated signature in the ChromeSDK expecting extensionId, and options missing from the mock #9

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

rspitler-nudge
Copy link

Added the missing parameters and updated the tests to reflect changes

rspitler-nudge and others added 4 commits July 27, 2024 09:35
Chrome has adjusted this signature so when this is called with an extensionId this mock fails an error 

TypeError: cb is not a function
Adjust sendMessage signature to match latest
Update sendMessage signature to reflect modern Chrome SDK
@RickyMarou
Copy link
Owner

RickyMarou commented Sep 10, 2024

Thank you @rspitler-nudge and sorry for the delay. I'll merge this and publish a new version later this week. I definitely need to automate all this 🙈

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants