summaryrefslogtreecommitdiff
path: root/cli/tests/unit/tty_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/unit/tty_test.ts')
-rw-r--r--cli/tests/unit/tty_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tests/unit/tty_test.ts b/cli/tests/unit/tty_test.ts
index b45a43f1a..2f13dd739 100644
--- a/cli/tests/unit/tty_test.ts
+++ b/cli/tests/unit/tty_test.ts
@@ -3,7 +3,7 @@ import { assert, assertThrows, unitTest } from "./test_util.ts";
// Note tests for Deno.setRaw is in integration tests.
-unitTest({ perms: { read: true } }, function consoleSizeFile() {
+unitTest({ permissions: { read: true } }, function consoleSizeFile() {
const file = Deno.openSync("cli/tests/testdata/hello.txt");
assertThrows(() => {
Deno.consoleSize(file.rid);
@@ -18,7 +18,7 @@ unitTest(function consoleSizeError() {
}, Deno.errors.BadResource);
});
-unitTest({ perms: { read: true } }, function isatty() {
+unitTest({ permissions: { read: true } }, function isatty() {
// CI not under TTY, so cannot test stdin/stdout/stderr.
const f = Deno.openSync("cli/tests/testdata/hello.txt");
assert(!Deno.isatty(f.rid));