diff options
Diffstat (limited to 'tests/testdata/workers/worker_async_error.ts')
-rw-r--r-- | tests/testdata/workers/worker_async_error.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/testdata/workers/worker_async_error.ts b/tests/testdata/workers/worker_async_error.ts new file mode 100644 index 000000000..7941a5bbe --- /dev/null +++ b/tests/testdata/workers/worker_async_error.ts @@ -0,0 +1,5 @@ +const worker = new Worker( + import.meta.resolve("./async_error.ts"), + { type: "module", name: "foo" }, +); +setTimeout(() => worker.terminate(), 30000); |