diff --git a/test/src/refresh_when_network_available_extension_test.dart b/test/src/refresh_when_network_available_extension_test.dart index fb671bd..7878f96 100644 --- a/test/src/refresh_when_network_available_extension_test.dart +++ b/test/src/refresh_when_network_available_extension_test.dart @@ -74,4 +74,14 @@ void main() { expect(numberOfFetchDataCalls, 2); }); }); + + group('ConnectivityStreamProvider tests', () { + test('connectivityStreamProvider provides an AsyncValue', () { + final container = ProviderContainer(); + final providerState = container.read(connectivityStreamProvider); + + // Check that the initial state is AsyncLoading. + expect(providerState, isA>>()); + }); + }); }