Skip to content

Commit

Permalink
Changes Made as per the nitpick comments to enhance readability
Browse files Browse the repository at this point in the history
  • Loading branch information
Satyam Jha committed Dec 19, 2024
1 parent b262e99 commit db228ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/view_model_tests/progress_dialog_view_model_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,15 @@ void main() {
setUp(() {
getAndRegisterConnectivity();
});
final model = ProgressDialogViewModel();

test(
'When called and connectivity is present, connectivityPresent must be set to true',
() async {
// Simulate online state
AppConnectivity.isOnline = true;

final model = ProgressDialogViewModel();

await model.initialise();

expect(model.connectivityPresent, true);
Expand Down

0 comments on commit db228ca

Please sign in to comment.