summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDmitry Sharshakov <sh7dm@outlook.com>2019-02-03 06:05:30 +0300
committerRyan Dahl <ry@tinyclouds.org>2019-02-02 22:05:30 -0500
commit181b03273c4c9282d8176953d68713e37b50294b (patch)
treeabdc1d696c889739b9d3ac254af7fa6f673fcc68 /tests
parent1d48e025d341c9295f7ee02039eaa6c00a720344 (diff)
Add isTTY function (#1622)
Diffstat (limited to 'tests')
-rw-r--r--tests/is_tty.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/is_tty.ts b/tests/is_tty.ts
new file mode 100644
index 000000000..a571aee18
--- /dev/null
+++ b/tests/is_tty.ts
@@ -0,0 +1,2 @@
+import { isTTY } from "deno";
+console.log(isTTY().stdin);