summaryrefslogtreecommitdiff
path: root/tests/unit/command_test.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-09-10 12:28:59 +0100
committerGitHub <noreply@github.com>2024-09-10 11:28:59 +0000
commit9a169e3cf11cccec0dd1a6acbfdba927d99658f5 (patch)
tree165fa6f8727891df7c4c826177d7ea24fd121e55 /tests/unit/command_test.ts
parent3f6afd19472c7a13f21b1083d80a563d9359a7ab (diff)
test: remove usage of `--unstable` flag (#25549)
This commit removes all occurrences of `--unstable` flag from all the tests that are run in CI. Turns out none of the tests actually required that flag anymore.
Diffstat (limited to 'tests/unit/command_test.ts')
-rw-r--r--tests/unit/command_test.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/unit/command_test.ts b/tests/unit/command_test.ts
index 6352e1fc7..c11761fe7 100644
--- a/tests/unit/command_test.ts
+++ b/tests/unit/command_test.ts
@@ -528,7 +528,7 @@ Deno.test(
},
async function commandFailedWithSignal() {
const output = await new Deno.Command(Deno.execPath(), {
- args: ["eval", "--unstable", "Deno.kill(Deno.pid, 'SIGKILL')"],
+ args: ["eval", "Deno.kill(Deno.pid, 'SIGKILL')"],
}).output();
assertEquals(output.success, false);
if (Deno.build.os === "windows") {
@@ -547,7 +547,7 @@ Deno.test(
},
function commandSyncFailedWithSignal() {
const output = new Deno.Command(Deno.execPath(), {
- args: ["eval", "--unstable", "Deno.kill(Deno.pid, 'SIGKILL')"],
+ args: ["eval", "Deno.kill(Deno.pid, 'SIGKILL')"],
}).outputSync();
assertEquals(output.success, false);
if (Deno.build.os === "windows") {
@@ -835,7 +835,7 @@ Deno.test(
const command = await new Deno.Command(Deno.execPath(), {
cwd: Deno.args[0],
stdout: "piped",
- args: ["run", "-A", "--unstable", Deno.args[1]],
+ args: ["run", "-A", Deno.args[1]],
});
const child = command.spawn();
const readable = child.stdout.pipeThrough(new TextDecoderStream());
@@ -877,7 +877,7 @@ setInterval(() => {
Deno.execPath(),
{
cwd,
- args: ["run", "-A", "--unstable", programFile, cwd, childProgramFile],
+ args: ["run", "-A", programFile, cwd, childProgramFile],
},
).output();