summaryrefslogtreecommitdiff
path: root/cli/tests/subdir
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2021-02-15 14:48:47 +0100
committerGitHub <noreply@github.com>2021-02-15 14:48:47 +0100
commit8c6d147e6ae40a1f92aba1aedc0d95ef437dd4ba (patch)
treefbb59c9a6b294fd242854480067ae50cfb61fba7 /cli/tests/subdir
parent1afe6b48e0bfee44f37206eb0fc03ea6ae37ad4d (diff)
chore: Reorganise workers tests (#9493)
Diffstat (limited to 'cli/tests/subdir')
-rw-r--r--cli/tests/subdir/worker_error.ts5
-rw-r--r--cli/tests/subdir/worker_location.ts6
-rw-r--r--cli/tests/subdir/worker_types.ts4
3 files changed, 0 insertions, 15 deletions
diff --git a/cli/tests/subdir/worker_error.ts b/cli/tests/subdir/worker_error.ts
deleted file mode 100644
index 495971090..000000000
--- a/cli/tests/subdir/worker_error.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-function foo() {
- throw new Error("foo");
-}
-
-foo();
diff --git a/cli/tests/subdir/worker_location.ts b/cli/tests/subdir/worker_location.ts
deleted file mode 100644
index 89fa83036..000000000
--- a/cli/tests/subdir/worker_location.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-onmessage = function (): void {
- postMessage(
- `${location.href}, ${location instanceof WorkerLocation}`,
- );
- close();
-};
diff --git a/cli/tests/subdir/worker_types.ts b/cli/tests/subdir/worker_types.ts
deleted file mode 100644
index b67a3b782..000000000
--- a/cli/tests/subdir/worker_types.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-// deno-lint-ignore require-await
-self.onmessage = async (_msg: MessageEvent) => {
- self.postMessage("hello");
-};