Skip to content

Commit

Permalink
Move html file to tests folder
Browse files Browse the repository at this point in the history
Signed-off-by: Marcos Candeia <[email protected]>
  • Loading branch information
mcandeia committed Jun 2, 2024
1 parent 73d0b87 commit 24638ee
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/server_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const _localServer = Deno.serve({
await req.text();
const cp = new Headers(req.headers);
cp.set("x-server-reply", "true");
return new Response((await Deno.open("../big.response.html")).readable, {
return new Response((await Deno.open("./big.response.html")).readable, {
headers: {
"content-type": "text/html",
},
Expand Down
4 changes: 2 additions & 2 deletions tests/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const resp = await fetch("http://localhost:8001", {
"host": domain,
},
client,
body: (await Deno.open("../big.response.html")).readable,
body: (await Deno.open("./big.response.html")).readable,
});
const text = await resp.text();
console.log("TEXT", resp.headers);
Expand All @@ -46,7 +46,7 @@ const resp2 = await fetch("http://localhost:8000", {
"host": domain,
},
client,
body: (await Deno.open("../big.response.html")).readable,
body: (await Deno.open("./big.response.html")).readable,
});
const text2 = await resp2.text();
console.log("TEXT2", resp.headers);
Expand Down

0 comments on commit 24638ee

Please sign in to comment.