mirror of
https://github.com/block/buzz.git
synced 2026-11-05 00:41:28 +00:00
test(mobile): report linked signer probe failures explicitly
Signed-off-by: Tom Brow <tomb@block.xyz>
This commit is contained in:
@@ -8,6 +8,15 @@ import 'package:buzz/shared/crypto/event_signer.dart';
|
||||
|
||||
Future<void> main() async {
|
||||
WidgetsFlutterBinding.ensureInitialized();
|
||||
try {
|
||||
await runProbe();
|
||||
} catch (error) {
|
||||
debugPrint('SIGNING_PROBE FAILED: $error');
|
||||
rethrow;
|
||||
}
|
||||
}
|
||||
|
||||
Future<void> runProbe() async {
|
||||
if (!Platform.isIOS) throw StateError('This probe requires an iOS Runner');
|
||||
final results = <String>[];
|
||||
final key = '0' * 63 + '3';
|
||||
|
||||
Reference in New Issue
Block a user