diff options
Diffstat (limited to 'cli/tests/unit_node/process_test.ts')
-rw-r--r-- | cli/tests/unit_node/process_test.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cli/tests/unit_node/process_test.ts b/cli/tests/unit_node/process_test.ts index 7e927a8ad..461afb9f6 100644 --- a/cli/tests/unit_node/process_test.ts +++ b/cli/tests/unit_node/process_test.ts @@ -764,3 +764,13 @@ Deno.test({ assert(typeof process.stdout.isTTY === "boolean"); }, }); + +Deno.test({ + name: "process.title", + fn() { + assertEquals(process.title, "deno"); + // Verify that setting the value has no effect. + process.title = "foo"; + assertEquals(process.title, "deno"); + }, +}); |