summaryrefslogtreecommitdiff
path: root/cli/tests/integration/test_tests.rs
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2023-04-27 13:40:03 +0100
committerGitHub <noreply@github.com>2023-04-27 14:40:03 +0200
commit03132e19da6c8e34e8100c6a57cd911b43900950 (patch)
tree014db77ed12f9ae882abba3c23c5f541461f03b4 /cli/tests/integration/test_tests.rs
parentd043a6d72cbf683c70f7eb4b9b3c09003afd2683 (diff)
fix(test): handle dispatched exceptions from test functions (#18853)
Fixes #18852.
Diffstat (limited to 'cli/tests/integration/test_tests.rs')
-rw-r--r--cli/tests/integration/test_tests.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/tests/integration/test_tests.rs b/cli/tests/integration/test_tests.rs
index 0e1a39deb..223c02e24 100644
--- a/cli/tests/integration/test_tests.rs
+++ b/cli/tests/integration/test_tests.rs
@@ -425,6 +425,12 @@ itest!(uncaught_errors {
exit_code: 1,
});
+itest!(report_error {
+ args: "test --quiet test/report_error.ts",
+ output: "test/report_error.out",
+ exit_code: 1,
+});
+
itest!(check_local_by_default {
args: "test --quiet test/check_local_by_default.ts",
output: "test/check_local_by_default.out",