summaryrefslogtreecommitdiff
path: root/std/fs/exists_test.ts
diff options
context:
space:
mode:
authorLuca Casonato <lucacasonato@yahoo.com>2020-04-30 17:23:40 +0200
committerGitHub <noreply@github.com>2020-04-30 11:23:40 -0400
commit80e22111416751ce34dbc5cb32ffa9f293517370 (patch)
tree5b3fe5d16ee07143e5dcb2c766a1f48c296ad9d6 /std/fs/exists_test.ts
parent4993a6504b4b447e0e02454094cffb02ee18c081 (diff)
Unstable methods should not appear in runtime or d.ts (#4957)
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
Diffstat (limited to 'std/fs/exists_test.ts')
-rw-r--r--std/fs/exists_test.ts3
1 files changed, 2 insertions, 1 deletions
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");