Skip to content

Commit

Permalink
tests: enable wpt for url (denoland/deno#9046)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacasonato authored and denobot committed Jan 31, 2021
1 parent 887b4ae commit 448fc83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion http/file_server_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ Deno.test("contentType", async () => {
Deno.test("file_server running as library", async function (): Promise<void> {
await startFileServerAsLibrary();
try {
const res = await fetch("http://localhost:8000");
const res = await fetch("http://localhost:4504");
assertEquals(res.status, 200);
const _ = await res.text();
} finally {
Expand Down
2 changes: 1 addition & 1 deletion http/testdata/file_server_as_library.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { serve } from "../server.ts";
import { serveFile } from "../file_server.ts";

const server = serve({ port: 8000 });
const server = serve({ port: 4504 });

console.log("Server running...");

Expand Down

0 comments on commit 448fc83

Please sign in to comment.