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:
parent
7326e1ab49
commit
c8fc679329
4 changed files with 3 additions and 8 deletions
|
@ -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",
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue