diff options
Diffstat (limited to 'std/fs')
-rw-r--r-- | std/fs/empty_dir_test.ts | 3 | ||||
-rw-r--r-- | std/fs/exists_test.ts | 3 | ||||
-rw-r--r-- | std/fs/expand_glob_test.ts | 2 |
3 files changed, 5 insertions, 3 deletions
diff --git a/std/fs/empty_dir_test.ts b/std/fs/empty_dir_test.ts index b3be1f617..254cf590f 100644 --- a/std/fs/empty_dir_test.ts +++ b/std/fs/empty_dir_test.ts @@ -203,7 +203,8 @@ for (const s of scenes) { ); try { - const args = [Deno.execPath(), "run"]; + // TODO(lucacasonato): remove unstable when stabilized + const args = [Deno.execPath(), "run", "--unstable"]; if (s.read) { args.push("--allow-read"); diff --git a/std/fs/exists_test.ts b/std/fs/exists_test.ts index 04c58d8d6..191289d88 100644 --- a/std/fs/exists_test.ts +++ b/std/fs/exists_test.ts @@ -112,7 +112,8 @@ 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> { - const args = [Deno.execPath(), "run"]; + // TODO(lucacasonato): remove unstable when stabilized + const args = [Deno.execPath(), "run", "--unstable"]; if (s.read) { args.push("--allow-read"); diff --git a/std/fs/expand_glob_test.ts b/std/fs/expand_glob_test.ts index 4a1adc308..697c8bf98 100644 --- a/std/fs/expand_glob_test.ts +++ b/std/fs/expand_glob_test.ts @@ -115,7 +115,7 @@ Deno.test("expandGlobIncludeDirs", async function (): Promise<void> { Deno.test("expandGlobPermError", async function (): Promise<void> { const exampleUrl = new URL("testdata/expand_wildcard.js", import.meta.url); const p = run({ - cmd: [execPath(), exampleUrl.toString()], + cmd: [execPath(), "--unstable", exampleUrl.toString()], stdin: "null", stdout: "piped", stderr: "piped", |