mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 20:29:11 +00:00
misc: reduce unnecesarry output in cli/js tests (#4182)
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
This commit is contained in:
parent
3968308886
commit
4dc004f0a2
8 changed files with 76 additions and 75 deletions
|
@ -21,13 +21,15 @@ test(function runPermissions(): void {
|
|||
|
||||
testPerm({ run: true }, async function runSuccess(): Promise<void> {
|
||||
const p = run({
|
||||
args: ["python", "-c", "print('hello world')"]
|
||||
args: ["python", "-c", "print('hello world')"],
|
||||
stdout: "piped",
|
||||
stderr: "null"
|
||||
});
|
||||
const status = await p.status();
|
||||
console.log("status", status);
|
||||
assertEquals(status.success, true);
|
||||
assertEquals(status.code, 0);
|
||||
assertEquals(status.signal, undefined);
|
||||
p.stdout!.close();
|
||||
p.close();
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue