summaryrefslogtreecommitdiff
path: root/tests/unit_node/testdata/worker_module/other_file.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit_node/testdata/worker_module/other_file.js')
-rw-r--r--tests/unit_node/testdata/worker_module/other_file.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/unit_node/testdata/worker_module/other_file.js b/tests/unit_node/testdata/worker_module/other_file.js
new file mode 100644
index 000000000..41789dfe8
--- /dev/null
+++ b/tests/unit_node/testdata/worker_module/other_file.js
@@ -0,0 +1,3 @@
+export async function myFunction() {
+ await new Promise((resolve) => setTimeout(resolve, 100));
+}