mirror of
https://github.com/denoland/deno.git
synced 2025-07-24 05:35:33 +00:00
feat(runtime): two-tier subprocess API (#11618)
This commit is contained in:
parent
8b25807054
commit
8a7539cab3
13 changed files with 1323 additions and 5 deletions
|
@ -557,8 +557,9 @@ Deno.test(
|
|||
|
||||
const obj = JSON.parse(new TextDecoder().decode(await p.output()));
|
||||
|
||||
// can't check for object equality because the OS may set additional env vars for processes
|
||||
// so we check if PATH isn't present as that is a common env var across OS's and isn't set for processes.
|
||||
// can't check for object equality because the OS may set additional env
|
||||
// vars for processes, so we check if PATH isn't present as that is a common
|
||||
// env var across OS's and isn't set for processes.
|
||||
assertEquals(obj.FOO, "23147");
|
||||
assert(!("PATH" in obj));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue