Description
wallet-provider.tsx defines every wallet adapter (Freighter, xBull, LOBSTR, Albedo) and the ADAPTERS/WALLET_OPTIONS registry, but the provider component itself has zero test coverage (only lobstrAdapter has dedicated unit tests, in __tests__/lib/wallet-lobstr.test.ts).
Location
components/providers/wallet-provider.tsx
Task
Add tests for the context provider: connect/disconnect flow, persisted-connection restore on mount, and network-mismatch detection, mocking the underlying wallet SDKs.
Good for contributors because
Central piece of wallet integration with real risk of silent regressions — high-value coverage.
Description
wallet-provider.tsxdefines every wallet adapter (Freighter, xBull, LOBSTR, Albedo) and theADAPTERS/WALLET_OPTIONSregistry, but the provider component itself has zero test coverage (onlylobstrAdapterhas dedicated unit tests, in__tests__/lib/wallet-lobstr.test.ts).Location
components/providers/wallet-provider.tsxTask
Add tests for the context provider: connect/disconnect flow, persisted-connection restore on mount, and network-mismatch detection, mocking the underlying wallet SDKs.
Good for contributors because
Central piece of wallet integration with real risk of silent regressions — high-value coverage.