1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-13 16:26:08 -05:00

test(std): remove unstable from multiple tests (#6882)

This commit is contained in:
Trivikram Kamat 2020-07-26 12:52:08 -07:00 committed by GitHub
parent 7326e1ab49
commit c8fc679329
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 8 deletions

View file

@ -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",

View file

@ -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");

View file

@ -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");

View file

@ -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.