summaryrefslogtreecommitdiff
path: root/tests/integration/worker_tests.rs
diff options
context:
space:
mode:
authorSatya Rohith <me@satyarohith.com>2024-04-02 17:06:09 +0530
committerGitHub <noreply@github.com>2024-04-02 17:06:09 +0530
commit4d66ec91c1ca23134dc25f58f41da52a99615a38 (patch)
tree96b9de0cf5ac664f14ac8fc35f93d2d3da65a87f /tests/integration/worker_tests.rs
parent7ad76fd453972e9262985c61840c77b8b8a6dbb7 (diff)
fix(ext/node): MessagePort works (#22999)
Closes https://github.com/denoland/deno/issues/22951 Closes https://github.com/denoland/deno/issues/23001 Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
Diffstat (limited to 'tests/integration/worker_tests.rs')
-rw-r--r--tests/integration/worker_tests.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/integration/worker_tests.rs b/tests/integration/worker_tests.rs
index dd0c2d409..abd07da16 100644
--- a/tests/integration/worker_tests.rs
+++ b/tests/integration/worker_tests.rs
@@ -1,6 +1,7 @@
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
use test_util::itest;
+use test_util::itest_flaky;
itest!(worker_error {
args: "run -A workers/worker_error.ts",
@@ -125,3 +126,15 @@ itest!(node_worker_auto_exits {
output: "workers/node_worker_auto_exits.mjs.out",
exit_code: 0,
});
+
+itest_flaky!(node_worker_message_port {
+ args: "run --quiet --allow-read workers/node_worker_message_port.mjs",
+ output: "workers/node_worker_message_port.mjs.out",
+ exit_code: 0,
+});
+
+itest!(node_worker_transfer_port {
+ args: "run --quiet --allow-read workers/node_worker_transfer_port.mjs",
+ output: "workers/node_worker_transfer_port.mjs.out",
+ exit_code: 0,
+});