summaryrefslogtreecommitdiff
path: root/cli/tests/integration/worker_tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/integration/worker_tests.rs')
-rw-r--r--cli/tests/integration/worker_tests.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/tests/integration/worker_tests.rs b/cli/tests/integration/worker_tests.rs
index 57faaa6d3..63d5ccbd3 100644
--- a/cli/tests/integration/worker_tests.rs
+++ b/cli/tests/integration/worker_tests.rs
@@ -104,3 +104,9 @@ itest!(worker_terminate_tla_crash {
args: "run --quiet --reload workers/terminate_tla_crash.js",
output: "workers/terminate_tla_crash.js.out",
});
+
+itest!(worker_error_event {
+ args: "run --quiet -A workers/error_event.ts",
+ output: "workers/error_event.ts.out",
+ exit_code: 1,
+});