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 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"); } }