diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2024-05-15 22:02:11 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-16 10:32:11 +0530 |
commit | a31b81394b7d78e6a0e678ba4d18dda62a3b2bc5 (patch) | |
tree | 7e104ab27ac11826b423d99b442e3dd0539e4af1 /tests/unit_node/process_test.ts | |
parent | f6c6e768c83d7de44b5b8a7411e7679f7c9ac2b9 (diff) |
fix(ext/node): export geteuid from node:process (#23840)
Fixes https://github.com/denoland/deno/issues/23827
Diffstat (limited to 'tests/unit_node/process_test.ts')
-rw-r--r-- | tests/unit_node/process_test.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unit_node/process_test.ts b/tests/unit_node/process_test.ts index 15ad052bf..6b90a30ba 100644 --- a/tests/unit_node/process_test.ts +++ b/tests/unit_node/process_test.ts @@ -6,6 +6,7 @@ import process, { argv, argv0 as importedArgv0, env, + geteuid, pid as importedPid, platform as importedPlatform, } from "node:process"; @@ -879,6 +880,7 @@ Deno.test("process.geteuid", () => { if (Deno.build.os === "windows") { assertEquals(process.geteuid, undefined); } else { + assert(geteuid); assert(typeof process.geteuid?.() === "number"); } }); |