summaryrefslogtreecommitdiff
path: root/tests/unit_node/testdata/worker_module/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit_node/testdata/worker_module/index.js')
-rw-r--r--tests/unit_node/testdata/worker_module/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit_node/testdata/worker_module/index.js b/tests/unit_node/testdata/worker_module/index.js
index a3e976b65..cbb433986 100644
--- a/tests/unit_node/testdata/worker_module/index.js
+++ b/tests/unit_node/testdata/worker_module/index.js
@@ -1,3 +1,3 @@
import { myFunction } from "./other_file.js";
-myFunction().then(() => {});
+await myFunction();