From 80e22111416751ce34dbc5cb32ffa9f293517370 Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Thu, 30 Apr 2020 17:23:40 +0200 Subject: Unstable methods should not appear in runtime or d.ts (#4957) Co-authored-by: Kitson Kelly --- std/examples/chat/server_test.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'std/examples/chat/server_test.ts') 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 { 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", }); -- cgit v1.2.3