diff options
Diffstat (limited to 'cli/tests/unit')
-rw-r--r-- | cli/tests/unit/tty_color_test.ts | 2 | ||||
-rw-r--r-- | cli/tests/unit/tty_test.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cli/tests/unit/tty_color_test.ts b/cli/tests/unit/tty_color_test.ts index feb4dd470..7662d039b 100644 --- a/cli/tests/unit/tty_color_test.ts +++ b/cli/tests/unit/tty_color_test.ts @@ -1,7 +1,7 @@ // Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assertEquals } from "./test_util.ts"; -// Note tests for Deno.setRaw is in integration tests. +// Note tests for Deno.stdin.setRaw is in integration tests. Deno.test( { permissions: { run: true, read: true } }, diff --git a/cli/tests/unit/tty_test.ts b/cli/tests/unit/tty_test.ts index e50443aab..8787db3e1 100644 --- a/cli/tests/unit/tty_test.ts +++ b/cli/tests/unit/tty_test.ts @@ -1,7 +1,7 @@ // Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert, assertThrows } from "./test_util.ts"; -// Note tests for Deno.setRaw is in integration tests. +// Note tests for Deno.stdin.setRaw is in integration tests. Deno.test({ permissions: { read: true } }, function consoleSizeFile() { const file = Deno.openSync("cli/tests/testdata/assets/hello.txt"); |