summaryrefslogtreecommitdiff
path: root/tests/unit/process_test.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-08-26 22:58:28 +0100
committerGitHub <noreply@github.com>2024-08-26 23:58:28 +0200
commitba58628601057c6f996cbad287fcfbe353872368 (patch)
tree5642806d3aed1d46eab233511ef8a929cf0c51d3 /tests/unit/process_test.ts
parent631d931973fbb7d2e01e1aeb87a33dd9d63ec38e (diff)
Reland "test: run unit tests with DENO_FUTURE=1" (#25212)
Reverted in https://github.com/denoland/deno/pull/25060
Diffstat (limited to 'tests/unit/process_test.ts')
-rw-r--r--tests/unit/process_test.ts14
1 files changed, 12 insertions, 2 deletions
diff --git a/tests/unit/process_test.ts b/tests/unit/process_test.ts
index 040c6ee19..111b18421 100644
--- a/tests/unit/process_test.ts
+++ b/tests/unit/process_test.ts
@@ -5,6 +5,7 @@ import {
assertStrictEquals,
assertStringIncludes,
assertThrows,
+ DENO_FUTURE,
} from "./test_util.ts";
Deno.test(
@@ -363,7 +364,11 @@ Deno.test(
);
Deno.test(
- { permissions: { run: true, write: true, read: true } },
+ {
+ // Ignoring because uses `file.rid`
+ ignore: DENO_FUTURE,
+ permissions: { run: true, write: true, read: true },
+ },
async function runRedirectStdoutStderr() {
const tempDir = await Deno.makeTempDir();
const fileName = tempDir + "/redirected_stdio.txt";
@@ -392,11 +397,16 @@ Deno.test(
assertStringIncludes(text, "error");
assertStringIncludes(text, "output");
+ console.log("finished tgis test");
},
);
Deno.test(
- { permissions: { run: true, write: true, read: true } },
+ {
+ // Ignoring because uses `file.rid`
+ ignore: DENO_FUTURE,
+ permissions: { run: true, write: true, read: true },
+ },
async function runRedirectStdin() {
const tempDir = await Deno.makeTempDir();
const fileName = tempDir + "/redirected_stdio.txt";