diff options
| author | Mohammad Sulaiman <mohammad.sulaiman@exalt.ps> | 2024-09-09 18:07:41 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-09 11:07:41 -0400 |
| commit | 582be0adc2b80e532cf92ffbc44c8c8268a51774 (patch) | |
| tree | 48e5cdb63e524f974b17a3b787559ab0ff42e5c5 /tests/specs/worker/_084_worker_custom_inspect | |
| parent | 5126ccb8428c4ccf199d3b30f1cd86ef11009ef7 (diff) | |
chore: Deprecate worker itests (#25514)
Diffstat (limited to 'tests/specs/worker/_084_worker_custom_inspect')
4 files changed, 11 insertions, 0 deletions
diff --git a/tests/specs/worker/_084_worker_custom_inspect/__test__.jsonc b/tests/specs/worker/_084_worker_custom_inspect/__test__.jsonc new file mode 100644 index 000000000..8d47afab4 --- /dev/null +++ b/tests/specs/worker/_084_worker_custom_inspect/__test__.jsonc @@ -0,0 +1,4 @@ +{ + "args": "run --allow-read custom_inspect/main.ts", + "output": "custom_inspect/main.out" +} diff --git a/tests/specs/worker/_084_worker_custom_inspect/custom_inspect/main.out b/tests/specs/worker/_084_worker_custom_inspect/custom_inspect/main.out new file mode 100644 index 000000000..40d9b88ad --- /dev/null +++ b/tests/specs/worker/_084_worker_custom_inspect/custom_inspect/main.out @@ -0,0 +1 @@ +ReadableStream { locked: false } diff --git a/tests/specs/worker/_084_worker_custom_inspect/custom_inspect/main.ts b/tests/specs/worker/_084_worker_custom_inspect/custom_inspect/main.ts new file mode 100644 index 000000000..93d4eec2d --- /dev/null +++ b/tests/specs/worker/_084_worker_custom_inspect/custom_inspect/main.ts @@ -0,0 +1,4 @@ +new Worker( + import.meta.resolve("./worker.ts"), + { type: "module" }, +); diff --git a/tests/specs/worker/_084_worker_custom_inspect/custom_inspect/worker.ts b/tests/specs/worker/_084_worker_custom_inspect/custom_inspect/worker.ts new file mode 100644 index 000000000..5be82724e --- /dev/null +++ b/tests/specs/worker/_084_worker_custom_inspect/custom_inspect/worker.ts @@ -0,0 +1,2 @@ +console.log(new ReadableStream()); +close(); |
