diff options
Diffstat (limited to 'test/bun.js/websocket-subprocess.ts')
-rw-r--r-- | test/bun.js/websocket-subprocess.ts | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/test/bun.js/websocket-subprocess.ts b/test/bun.js/websocket-subprocess.ts deleted file mode 100644 index fd25b7fd5..000000000 --- a/test/bun.js/websocket-subprocess.ts +++ /dev/null @@ -1,13 +0,0 @@ -const host = process.argv[2]; - -const ws = new WebSocket(host); - -ws.onmessage = message => { - if (message.data === "hello websocket") { - ws.send("hello"); - } else if (message.data === "timeout") { - setTimeout(() => { - ws.send("close"); - }, 300); - } -}; |