Files
2024-08-25 23:05:44 +05:30

25 lines
795 B
Dart

import 'package:apidash/consts.dart';
import 'desktop/env_manager_test.dart';
import 'desktop/his_request_test.dart';
import 'desktop/req_editor_test.dart';
import 'mobile/env_manager_test.dart';
import 'mobile/his_request_test.dart';
import 'mobile/req_editor_test.dart';
Future<void> main() async {
if (kIsMobile) {
await runMobileReqIntegrationTest();
await runMobileEnvIntegrationTest();
await runMobileHisIntegrationTest();
} else if (kIsMobile || kIsDesktop) {
await runDesktopReqIntegrationTest();
await runDesktopEnvIntegrationTest();
await runDesktopHisIntegrationTest();
await runMobileReqIntegrationTest();
await runMobileEnvIntegrationTest();
await runMobileHisIntegrationTest();
} else {
throw Exception("Unsupported Platform");
}
}