From 9a169e3cf11cccec0dd1a6acbfdba927d99658f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Tue, 10 Sep 2024 12:28:59 +0100 Subject: 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. --- tests/unit/command_test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/unit/command_test.ts') 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(); -- cgit v1.2.3