Skip to content

Commit

Permalink
test: remove unstable from multiple tests (denoland/deno#6882)
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr authored and denobot committed Feb 1, 2021
1 parent 7d4b496 commit 6f30c8b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
2 changes: 0 additions & 2 deletions examples/chat/server_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 1 addition & 2 deletions fs/empty_dir_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
3 changes: 1 addition & 2 deletions fs/exists_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
3 changes: 1 addition & 2 deletions http/racing_server_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 6f30c8b

Please sign in to comment.