summaryrefslogtreecommitdiff
path: root/js/os_test.ts
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-01-06 14:16:42 -0500
committerGitHub <noreply@github.com>2019-01-06 14:16:42 -0500
commit57301909cd9eee6aeaafeda19aab372e034ff7c4 (patch)
tree60e7d9929fe5bd6f46dca5b38b1e70a790170e70 /js/os_test.ts
parent028d8e4d90d2224334b44ccb1836dc47d85a9526 (diff)
Add deno.pid (#1464)
Diffstat (limited to 'js/os_test.ts')
-rw-r--r--js/os_test.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/js/os_test.ts b/js/os_test.ts
index 922d86850..4b7ec4543 100644
--- a/js/os_test.ts
+++ b/js/os_test.ts
@@ -22,3 +22,8 @@ test(async function envFailure() {
assert(caughtError);
});
+
+test(function osPid() {
+ console.log("pid", deno.pid);
+ assert(deno.pid > 0);
+});