diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit_node/process_test.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/unit_node/process_test.ts b/tests/unit_node/process_test.ts index 0ae0c2a7a..b92be2f3c 100644 --- a/tests/unit_node/process_test.ts +++ b/tests/unit_node/process_test.ts @@ -416,6 +416,9 @@ Deno.test({ assertEquals(process.env.HELLO, "false"); process.env.HELLO = "WORLD"; assertEquals(process.env.HELLO, "WORLD"); + + delete process.env.HELLO; + assertEquals(process.env.HELLO, undefined); }, }); |