summaryrefslogtreecommitdiff
path: root/cli/tests/integration/run_tests.rs
diff options
context:
space:
mode:
authorAndreu Botella <abb@randomunok.com>2021-09-30 19:52:58 +0200
committerGitHub <noreply@github.com>2021-09-30 19:52:58 +0200
commita2632c86b1ddceae588886c7623a86f46e6098d5 (patch)
tree71bfff4f95a437577cbae57a53279d98a954624a /cli/tests/integration/run_tests.rs
parent68e5cdaff0620b497e265d6e50bae6e994e86144 (diff)
fix: Don't panic when a worker is closed in the reactions to a wasm operation. (#12270)
Diffstat (limited to 'cli/tests/integration/run_tests.rs')
-rw-r--r--cli/tests/integration/run_tests.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/cli/tests/integration/run_tests.rs b/cli/tests/integration/run_tests.rs
index 8c196d6e3..8c337b771 100644
--- a/cli/tests/integration/run_tests.rs
+++ b/cli/tests/integration/run_tests.rs
@@ -1204,6 +1204,11 @@ itest!(worker_message_before_close {
output: "worker_message_before_close.js.out",
});
+itest!(worker_close_in_wasm_reactions {
+ args: "run --quiet --reload --allow-read worker_close_in_wasm_reactions.js",
+ output: "worker_close_in_wasm_reactions.js.out",
+});
+
#[test]
fn no_validate_asm() {
let output = util::deno_cmd()