mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 12:03:46 +00:00 
			
		
		
		
	test-js-with-puppeteer: Error on unhandled promise rejections.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						 Tim Abbott
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							912c5a28f2
						
					
				
				
					commit
					42f4156b36
				
			| @@ -61,7 +61,7 @@ def run_tests(files: Iterable[str], external_host: str) -> None: | ||||
|         current_test_num = test_number | ||||
|         for test_file in test_files[test_number:]: | ||||
|             test_name = os.path.basename(test_file) | ||||
|             cmd = ["node", test_file] | ||||
|             cmd = ["node", "--unhandled-rejections=strict", test_file] | ||||
|             print( | ||||
|                 "\n\n===================== {}\nRunning {}\n\n".format( | ||||
|                     test_name, " ".join(map(shlex.quote, cmd)) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user