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
Description
This PR updates the
LuteWallet
tests to work with the latest version oflute-connect
, which now includes browser extension support. The changes improve test coverage and refactor the mocking strategy to isolate tests from the globalwindow
object.Details
lute-connect
to handle browser extension supportwindow
objectLuteWallet
classlute-connect
lute-connect
upgrade