Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(http): fix spawned tests after migration script #4368

Merged
merged 1 commit into from
Feb 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions http/file_server_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -344,10 +344,11 @@ Deno.test("serveDir() script prints help", async () => {
"--no-check",
"--quiet",
"--no-lock",
"file_server.ts",
"--config",
"deno.json",
"http/file_server.ts",
"--help",
],
cwd: moduleDir,
});
const { stdout } = await command.output();
const output = new TextDecoder().decode(stdout);
Expand All @@ -361,10 +362,11 @@ Deno.test("serveDir() script prints version", async () => {
"--no-check",
"--quiet",
"--no-lock",
"file_server.ts",
"--config",
"deno.json",
"http/file_server.ts",
"--version",
],
cwd: moduleDir,
});
const { stdout } = await command.output();
const output = new TextDecoder().decode(stdout);
Expand All @@ -390,7 +392,9 @@ Deno.test("serveDir() script fails with partial TLS args", async () => {
"--allow-read",
"--allow-net",
"--no-lock",
"file_server.ts",
"--config",
"deno.json",
"http/file_server.ts",
".",
"--host",
"localhost",
Expand All @@ -399,7 +403,6 @@ Deno.test("serveDir() script fails with partial TLS args", async () => {
"-p",
`4578`,
],
cwd: moduleDir,
stderr: "null",
});
const { stdout, success } = await command.output();
Expand Down
Loading