mirror of
https://github.com/rzuasti/oott.git
synced 2026-07-08 19:21:54 +02:00
11 lines
402 B
Dart
11 lines
402 B
Dart
import 'package:flutter_test/flutter_test.dart';
|
|||
|
|
import 'package:frontend/utils/local_network_permission.dart';
|
||
|
|
|
||
|
|
void main() {
|
||
|
|
test('is a no-op off iOS and never throws', () async {
|
||
|
|
// Tests run on the host VM (not iOS), so this exercises the guard: it must
|
||
|
|
// return cleanly without touching the network or raising.
|
||
|
|
await expectLater(requestLocalNetworkPermission(), completes);
|
||
|
|
});
|
||
|
|
}
|