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

Fix extension mocking during tests #3773

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

Fix extension mocking during tests #3773

wants to merge 6 commits into from

Conversation

hyphenized
Copy link
Collaborator

@hyphenized hyphenized commented Feb 5, 2025

Fixed testing setup of jest-webextension-mock and, removed the custom webextension-polyfill mock as it was no longer necessary.

Missing methods not supplied by jest-webextension-mock are initialized during setup through setup-extension-mock.ts. Also fixed an await omission in a test...

Latest build: extension-builds-3773 (as of Thu, 06 Feb 2025 00:21:17 GMT).

Fixed testing setup of `jest-webextension-mock` and, removed the custom
`webextension-polyfill` mock as it was no longer necessary.

Missing methods not supplied by `jest-webextension-mock` are initialized
during setup through `setup-extension-mock.ts`. Also fixed an `await`
omission in a test...
Logging was just adding noise to the summary of the test run
Random hash cannot be used as a valid eth address
@hyphenized hyphenized self-assigned this Feb 5, 2025
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.

1 participant