mirror of
				https://github.com/AppFlowy-IO/AppFlowy.git
				synced 2025-10-31 18:15:09 +00:00 
			
		
		
		
	
		
			
	
	
		
			22 lines
		
	
	
		
			682 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
		
		
			
		
	
	
			22 lines
		
	
	
		
			682 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
|   | import 'package:integration_test/integration_test.dart'; | ||
|  | 
 | ||
|  | import 'desktop/document/document_test_runner.dart' as document_test_runner; | ||
|  | import 'desktop/uncategorized/empty_test.dart' as first_test; | ||
|  | import 'desktop/uncategorized/switch_folder_test.dart' as switch_folder_test; | ||
|  | 
 | ||
|  | Future<void> main() async { | ||
|  |   await runIntegration1OnDesktop(); | ||
|  | } | ||
|  | 
 | ||
|  | Future<void> runIntegration1OnDesktop() async { | ||
|  |   IntegrationTestWidgetsFlutterBinding.ensureInitialized(); | ||
|  | 
 | ||
|  |   // This test must be run first, otherwise the CI will fail.
 | ||
|  |   first_test.main(); | ||
|  | 
 | ||
|  |   switch_folder_test.main(); | ||
|  |   document_test_runner.startTesting(); | ||
|  | 
 | ||
|  |   // DON'T add more tests here. This is the first test runner for desktop.
 | ||
|  | } |