mirror of
https://github.com/denoland/deno.git
synced 2024-10-30 09:08:00 -04:00
091059450e
This adds implicit coverage collection to the run command when a coverage collection directory is set (via an environment variable).
14 lines
249 B
TypeScript
14 lines
249 B
TypeScript
Deno.test("spawn test", async function () {
|
|
const process = Deno.run({
|
|
cmd: [
|
|
Deno.execPath(),
|
|
"run",
|
|
"--allow-all",
|
|
"--unstable",
|
|
"run_coverage.ts",
|
|
],
|
|
});
|
|
|
|
await process.status();
|
|
process.close();
|
|
});
|