Skip to content

Commit

Permalink
make sure isAnyGearConnected is reset
Browse files Browse the repository at this point in the history
  • Loading branch information
Codel1417 committed Jun 4, 2024
1 parent 05eec32 commit 7e35d9d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/Backend/action_registry_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:flutter_test/flutter_test.dart' as flTest;
import 'package:flutter_test/flutter_test.dart';
import 'package:tail_app/Backend/Bluetooth/bluetooth_manager.dart';
import 'package:tail_app/Backend/Bluetooth/bluetooth_manager_plus.dart';
import 'package:tail_app/Backend/Definitions/Action/base_action.dart';
import 'package:tail_app/Backend/action_registry.dart';

Expand All @@ -15,6 +16,7 @@ void main() {
});
tearDown(() async {
await deleteHive();
isAnyGearConnected.value = false;
});
test('All actions count', () {
expect(ActionRegistry.allCommands.length, 26);
Expand Down

0 comments on commit 7e35d9d

Please sign in to comment.