summaryrefslogtreecommitdiff
path: root/cli/tests/integration/run_tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/integration/run_tests.rs')
-rw-r--r--cli/tests/integration/run_tests.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/cli/tests/integration/run_tests.rs b/cli/tests/integration/run_tests.rs
index d4e7ccf72..ec42a8dc8 100644
--- a/cli/tests/integration/run_tests.rs
+++ b/cli/tests/integration/run_tests.rs
@@ -1367,6 +1367,13 @@ itest!(error_import_map_unable_to_load {
exit_code: 1,
});
+// This test ensure that useUnknownInCatchVariables is enabled by default.
+itest!(use_unknown_in_catch_variables {
+ args: "run useUnknownInCatchVariables.ts",
+ output: "useUnknownInCatchVariables.ts.out",
+ exit_code: 1,
+});
+
// Test that setting `self` in the main thread to some other value doesn't break
// the world.
itest!(replace_self {