summaryrefslogtreecommitdiff
path: root/tests/testdata/workers/error_event.ts
diff options
context:
space:
mode:
authorMohammad Sulaiman <mohammad.sulaiman@exalt.ps>2024-09-09 18:07:41 +0300
committerGitHub <noreply@github.com>2024-09-09 11:07:41 -0400
commit582be0adc2b80e532cf92ffbc44c8c8268a51774 (patch)
tree48e5cdb63e524f974b17a3b787559ab0ff42e5c5 /tests/testdata/workers/error_event.ts
parent5126ccb8428c4ccf199d3b30f1cd86ef11009ef7 (diff)
chore: Deprecate worker itests (#25514)
Diffstat (limited to 'tests/testdata/workers/error_event.ts')
-rw-r--r--tests/testdata/workers/error_event.ts11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/testdata/workers/error_event.ts b/tests/testdata/workers/error_event.ts
deleted file mode 100644
index 70e7728ab..000000000
--- a/tests/testdata/workers/error_event.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-const worker = new Worker(import.meta.resolve("./error.ts"), {
- type: "module",
-});
-worker.addEventListener("error", (e) => {
- console.log({
- "message": e.message,
- "filename": e.filename?.slice?.(-100),
- "lineno": e.lineno,
- "colno": e.colno,
- });
-});