Skip to content

Commit

Permalink
#339: fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jorre127 committed Oct 16, 2024
1 parent 8003a29 commit 8888945
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/viewmodel/login/login_viewmodel_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ void main() {
navigator = MockMainNavigator();
onboardingNavigator = MockOnboardingNavigator();
sut = LoginViewModel(loginRepo, navigator, onboardingNavigator);
TestWidgetsFlutterBinding.ensureInitialized();
});

test('LoginViewModel init with loggedin user', () async {
Expand Down

0 comments on commit 8888945

Please sign in to comment.