summaryrefslogtreecommitdiff
path: root/cli/tests/unit/spawn_test.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-08-24 21:26:57 +0200
committerGitHub <noreply@github.com>2022-08-24 21:26:57 +0200
commitfb1c7b7deacaf9d35cf26c99f46b6354a4420d68 (patch)
tree6a01a935f30dab40b75afd082a0a122a61443d1d /cli/tests/unit/spawn_test.ts
parent348291f5eccfa19fde67e16bc5d706b5f465da09 (diff)
fix(unstable): finish HTTP response for 205 and 304 responses (#15584)
This commit fixes "Deno.serve()" API by making sure that 205 and 304 responses end with "\r\n\r\n".
Diffstat (limited to 'cli/tests/unit/spawn_test.ts')
-rw-r--r--cli/tests/unit/spawn_test.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/cli/tests/unit/spawn_test.ts b/cli/tests/unit/spawn_test.ts
index 51664e3d1..df95e333b 100644
--- a/cli/tests/unit/spawn_test.ts
+++ b/cli/tests/unit/spawn_test.ts
@@ -714,7 +714,12 @@ Deno.test(function spawnSyncStdinPipedFails() {
});
Deno.test(
- { permissions: { write: true, run: true, read: true } },
+ // TODO(bartlomieju): this test became flaky on Windows CI
+ // raising "PermissionDenied" instead of "NotFound".
+ {
+ ignore: Deno.build.os === "windows",
+ permissions: { write: true, run: true, read: true },
+ },
async function spawnChildUnref() {
const enc = new TextEncoder();
const cwd = await Deno.makeTempDir({ prefix: "deno_command_test" });