summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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);