fix: kill/close process

This commit is contained in:
Anton Nesterov 2023-02-11 14:19:00 +03:00
parent 57b7280447
commit 959372b2c4

View file

@ -74,7 +74,7 @@ test("mod", async (t) => {
}); });
}); });
test("pickit: cmd line interface", async () => { test("cmd line interface", async () => {
const p = await Deno.run({ const p = await Deno.run({
cmd: [ cmd: [
"deno", "deno",
@ -90,4 +90,5 @@ test("pickit: cmd line interface", async () => {
const status = await p.status(); const status = await p.status();
assert(status.success); assert(status.success);
await Deno.remove("daisyui", { recursive: true }); await Deno.remove("daisyui", { recursive: true });
await p.close();
}); });