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

test(lute): update mocking for lute-connect compatibility #273

Merged
merged 1 commit into from
Sep 25, 2024

Conversation

drichar
Copy link
Collaborator

@drichar drichar commented Sep 25, 2024

Description

This PR updates the LuteWallet tests to work with the latest version of lute-connect, which now includes browser extension support. The changes improve test coverage and refactor the mocking strategy to isolate tests from the global window object.

Details

  • Updated mocking strategy for lute-connect to handle browser extension support
  • Refactored tests to avoid reliance on the global window object
  • Improved test coverage for LuteWallet class
  • Ensured compatibility with the latest version of lute-connect
  • Fixed failing tests caused by the lute-connect upgrade

Update `LuteWallet` tests to work with the latest version of `lute-connect`, which now includes browser extension support. Improve test coverage and refactor mocking strategy to isolate tests from the global `window` object.
@drichar drichar merged commit 77f1a37 into main Sep 25, 2024
1 check passed
@drichar drichar deleted the test/fix-lute-provider-tests branch September 25, 2024 04:50
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