diff options
Diffstat (limited to 'cli/tests/worker_with_top_level_await.ts')
-rw-r--r-- | cli/tests/worker_with_top_level_await.ts | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/cli/tests/worker_with_top_level_await.ts b/cli/tests/worker_with_top_level_await.ts deleted file mode 100644 index cf3418bf7..000000000 --- a/cli/tests/worker_with_top_level_await.ts +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. - -import { serve } from "../../std/http/server.ts"; - -const server = serve({ port: 8080 }); - -self.onmessage = (e: MessageEvent) => { - console.log("TLA worker received message", e.data); -}; - -self.postMessage("hello"); - -for await (const _r of server) { - // pass -} |