diff options
author | Luca Casonato <lucacasonato@yahoo.com> | 2020-04-30 17:23:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-30 11:23:40 -0400 |
commit | 80e22111416751ce34dbc5cb32ffa9f293517370 (patch) | |
tree | 5b3fe5d16ee07143e5dcb2c766a1f48c296ad9d6 /std/examples/chat/server_test.ts | |
parent | 4993a6504b4b447e0e02454094cffb02ee18c081 (diff) |
Unstable methods should not appear in runtime or d.ts (#4957)
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
Diffstat (limited to 'std/examples/chat/server_test.ts')
-rw-r--r-- | std/examples/chat/server_test.ts | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/std/examples/chat/server_test.ts b/std/examples/chat/server_test.ts index 1aba4208a..76b1f1bf5 100644 --- a/std/examples/chat/server_test.ts +++ b/std/examples/chat/server_test.ts @@ -9,7 +9,14 @@ const { test } = Deno; async function startServer(): Promise<Deno.Process> { const server = Deno.run({ - cmd: [Deno.execPath(), "--allow-net", "--allow-read", "server.ts"], + // TODO(lucacasonato): remove unstable once possible + cmd: [ + Deno.execPath(), + "--allow-net", + "--allow-read", + "--unstable", + "server.ts", + ], cwd: "examples/chat", stdout: "piped", }); |