mirror of
https://github.com/denoland/deno.git
synced 2025-08-03 18:38:33 +00:00
fix(ext/node): support delete process.env.var (#23647)
Closes https://github.com/denoland/deno/issues/23641
This commit is contained in:
parent
66b66de96a
commit
56ba7f3c23
2 changed files with 7 additions and 0 deletions
|
@ -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);
|
||||
},
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue