Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
test-js-with-puppeteer: Error on unhandled promise rejections.
Anders Kaseorg42f4156b366e
diff --git a/tools/test-js-with-puppeteer b/tools/test-js-with-puppeteerindex 17e4ac153ba..b6c5f177e40 100755--- a/tools/test-js-with-puppeteer+++ b/tools/test-js-with-puppeteer@@ -61,7 +61,7 @@ def run_tests(files: Iterable[str], external_host: str) -> None:current_test_num = test_numberfor 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))