veilid/veilid-flutter/example/integration_test/test_veilid_config.dart

11 lines
407 B
Dart
Raw Normal View History

2024-03-02 17:45:26 -05:00
import 'package:flutter/foundation.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:veilid/default_config.dart';
Future<void> testVeilidConfigDefaults() async {
const programName = 'Veilid Tests';
final defaultConfig =
await getDefaultVeilidConfig(isWeb: kIsWeb, programName: programName);
assert(defaultConfig.programName == programName, 'program name should match');
}