Skip to content

Commit 24638ee

Browse files
committed
Move html file to tests folder
Signed-off-by: Marcos Candeia <[email protected]>
1 parent 73d0b87 commit 24638ee

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
File renamed without changes.

tests/server_test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const _localServer = Deno.serve({
1818
await req.text();
1919
const cp = new Headers(req.headers);
2020
cp.set("x-server-reply", "true");
21-
return new Response((await Deno.open("../big.response.html")).readable, {
21+
return new Response((await Deno.open("./big.response.html")).readable, {
2222
headers: {
2323
"content-type": "text/html",
2424
},

tests/test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const resp = await fetch("http://localhost:8001", {
3232
"host": domain,
3333
},
3434
client,
35-
body: (await Deno.open("../big.response.html")).readable,
35+
body: (await Deno.open("./big.response.html")).readable,
3636
});
3737
const text = await resp.text();
3838
console.log("TEXT", resp.headers);
@@ -46,7 +46,7 @@ const resp2 = await fetch("http://localhost:8000", {
4646
"host": domain,
4747
},
4848
client,
49-
body: (await Deno.open("../big.response.html")).readable,
49+
body: (await Deno.open("./big.response.html")).readable,
5050
});
5151
const text2 = await resp2.text();
5252
console.log("TEXT2", resp.headers);

0 commit comments

Comments
 (0)