diff options
| author | mash-graz <mash-graz@users.noreply.github.com> | 2024-03-20 04:42:22 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-20 09:12:22 +0530 |
| commit | 0d43a63636c97886c10c6b8ce05fdb67cd2d8b91 (patch) | |
| tree | c1bde8b36ec1d317f0d85ee7f40243169a2f4e2f /tests/unit_node/testdata/worker_module/other_cjs_file.cjs | |
| parent | b9f8562754f14aecfd87acdecfe8d8c966ccbe4d (diff) | |
fix(ext/node): worker_threads ESM handling (#22841)
Fixes #22840
Fixes #22964
Diffstat (limited to 'tests/unit_node/testdata/worker_module/other_cjs_file.cjs')
| -rw-r--r-- | tests/unit_node/testdata/worker_module/other_cjs_file.cjs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/unit_node/testdata/worker_module/other_cjs_file.cjs b/tests/unit_node/testdata/worker_module/other_cjs_file.cjs new file mode 100644 index 000000000..45ae337bf --- /dev/null +++ b/tests/unit_node/testdata/worker_module/other_cjs_file.cjs @@ -0,0 +1,5 @@ +module.exports = { + add: (a, b) => { + return a + b; + }, +}; |
