You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(llc): Decouple tests from client implementation
This commit refactors the test suite to use the abstract `StreamFeedsClient` class instead of the concrete `StreamFeedsClientImpl` implementation.
This change improves test isolation by programming against the public API contract rather than the internal implementation details.
Key changes:
- Updated all test files to instantiate and reference `StreamFeedsClient`.
- Removed direct imports of `feeds_client_impl.dart` from the test suite.
- Removed the unnecessary Flutter SDK dependency from `pubspec.yaml`.
- Exposed `WebSocketProvider` and `DefaultApi` as `@visibleForTesting` parameters in the `StreamFeedsClient` factory constructor to facilitate mocking.
0 commit comments