From c8fc679329f45f50c061a67400e572f356b7890f Mon Sep 17 00:00:00 2001 From: Trivikram Kamat <16024985+trivikr@users.noreply.github.com> Date: Sun, 26 Jul 2020 12:52:08 -0700 Subject: [PATCH] test(std): remove unstable from multiple tests (#6882) --- std/examples/chat/server_test.ts | 2 -- std/fs/empty_dir_test.ts | 3 +-- std/fs/exists_test.ts | 3 +-- std/http/racing_server_test.ts | 3 +-- 4 files changed, 3 insertions(+), 8 deletions(-) diff --git a/std/examples/chat/server_test.ts b/std/examples/chat/server_test.ts index 872f4ee121..27745e6596 100644 --- a/std/examples/chat/server_test.ts +++ b/std/examples/chat/server_test.ts @@ -9,13 +9,11 @@ async function startServer(): Promise< Deno.Process > { const server = Deno.run({ - // TODO(lucacasonato): remove unstable once possible cmd: [ Deno.execPath(), "run", "--allow-net", "--allow-read", - "--unstable", "server.ts", ], cwd: "examples/chat", diff --git a/std/fs/empty_dir_test.ts b/std/fs/empty_dir_test.ts index 6c06c9d523..b71ae16f8d 100644 --- a/std/fs/empty_dir_test.ts +++ b/std/fs/empty_dir_test.ts @@ -203,8 +203,7 @@ for (const s of scenes) { ); try { - // TODO(lucacasonato): remove unstable when stabilized - const args = [Deno.execPath(), "run", "--unstable"]; + const args = [Deno.execPath(), "run"]; if (s.read) { args.push("--allow-read"); diff --git a/std/fs/exists_test.ts b/std/fs/exists_test.ts index 3c280f4c4b..5f3c856508 100644 --- a/std/fs/exists_test.ts +++ b/std/fs/exists_test.ts @@ -112,8 +112,7 @@ for (const s of scenes) { let title = `test ${s.async ? "exists" : "existsSync"}("testdata/${s.file}")`; title += ` ${s.read ? "with" : "without"} --allow-read`; Deno.test(`[fs] existsPermission ${title}`, async function (): Promise { - // TODO(lucacasonato): remove unstable when stabilized - const args = [Deno.execPath(), "run", "--unstable"]; + const args = [Deno.execPath(), "run"]; if (s.read) { args.push("--allow-read"); diff --git a/std/http/racing_server_test.ts b/std/http/racing_server_test.ts index 7e510f13d0..8daf7c4dc1 100644 --- a/std/http/racing_server_test.ts +++ b/std/http/racing_server_test.ts @@ -5,8 +5,7 @@ import { TextProtoReader } from "../textproto/mod.ts"; let server: Deno.Process; async function startServer(): Promise { server = Deno.run({ - // TODO(lucacasonato): remove unstable when stabilized - cmd: [Deno.execPath(), "run", "--unstable", "-A", "http/racing_server.ts"], + cmd: [Deno.execPath(), "run", "-A", "http/racing_server.ts"], stdout: "piped", }); // Once racing server is ready it will write to its stdout.