From 23efc4fcab2ca3b8b47539a7fb1d904efc57eb7c Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Mon, 9 May 2022 10:44:50 +0100 Subject: feat(test): Represent uncaught errors (#14513) This commit adds better reporting of uncaught errors in top level scope of testing files. This change affects both console runner as well as LSP runner. --- cli/tests/integration/test_tests.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cli/tests/integration') diff --git a/cli/tests/integration/test_tests.rs b/cli/tests/integration/test_tests.rs index 0cbc3130f..05a663215 100644 --- a/cli/tests/integration/test_tests.rs +++ b/cli/tests/integration/test_tests.rs @@ -368,3 +368,9 @@ fn file_protocol() { }) .run(); } + +itest!(uncaught_errors { + args: "test --quiet test/uncaught_errors_1.ts test/uncaught_errors_2.ts test/uncaught_errors_3.ts", + output: "test/uncaught_errors.out", + exit_code: 1, +}); -- cgit v1.2.3