diff options
author | Trivikram Kamat <16024985+trivikr@users.noreply.github.com> | 2020-07-26 12:52:08 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-26 15:52:08 -0400 |
commit | c8fc679329f45f50c061a67400e572f356b7890f (patch) | |
tree | 954f3fd643f60598aa164cd60e142aef7ed80936 | |
parent | 7326e1ab490aab2220b139460165be0bfbf04f36 (diff) |
test(std): remove unstable from multiple tests (#6882)
-rw-r--r-- | std/examples/chat/server_test.ts | 2 | ||||
-rw-r--r-- | std/fs/empty_dir_test.ts | 3 | ||||
-rw-r--r-- | std/fs/exists_test.ts | 3 | ||||
-rw-r--r-- | 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 872f4ee12..27745e659 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<Deno.RunOptions & { stdout: "piped" }> > { 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 6c06c9d52..b71ae16f8 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 3c280f4c4..5f3c85650 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<void> { - // 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 7e510f13d..8daf7c4dc 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<Deno.RunOptions & { stdout: "piped" }>; async function startServer(): Promise<void> { 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. |