summaryrefslogtreecommitdiff
path: root/cli/tests/unit/symlink_test.ts
diff options
context:
space:
mode:
authorCasper Beyer <caspervonb@pm.me>2021-09-23 07:50:50 +0800
committerGitHub <noreply@github.com>2021-09-23 01:50:50 +0200
commit830586d242216e64fcd16e65cc83db9d54d63dc0 (patch)
treea84f0090faaa14879693016e9d9b13fcfbb92dcd /cli/tests/unit/symlink_test.ts
parent87e78802b0ae65cc57d66eaa8e5265f74cf69092 (diff)
test(cli): align unit test permissions with runtime test permissions (#12189)
Diffstat (limited to 'cli/tests/unit/symlink_test.ts')
-rw-r--r--cli/tests/unit/symlink_test.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/tests/unit/symlink_test.ts b/cli/tests/unit/symlink_test.ts
index b9fcd9e7a..b5700b4f3 100644
--- a/cli/tests/unit/symlink_test.ts
+++ b/cli/tests/unit/symlink_test.ts
@@ -7,7 +7,7 @@ import {
} from "./test_util.ts";
unitTest(
- { perms: { read: true, write: true } },
+ { permissions: { read: true, write: true } },
function symlinkSyncSuccess() {
const testDir = Deno.makeTempDirSync();
const oldname = testDir + "/oldname";
@@ -22,7 +22,7 @@ unitTest(
);
unitTest(
- { perms: { read: true, write: true } },
+ { permissions: { read: true, write: true } },
function symlinkSyncURL() {
const testDir = Deno.makeTempDirSync();
const oldname = testDir + "/oldname";
@@ -46,7 +46,7 @@ unitTest(function symlinkSyncPerm() {
});
unitTest(
- { perms: { read: true, write: true } },
+ { permissions: { read: true, write: true } },
async function symlinkSuccess() {
const testDir = Deno.makeTempDirSync();
const oldname = testDir + "/oldname";
@@ -61,7 +61,7 @@ unitTest(
);
unitTest(
- { perms: { read: true, write: true } },
+ { permissions: { read: true, write: true } },
async function symlinkURL() {
const testDir = Deno.makeTempDirSync();
const oldname = testDir + "/oldname";