We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9da6bd9 commit 37e93aeCopy full SHA for 37e93ae
examples/hono.test.ts
@@ -23,9 +23,10 @@ describe("hono error handling", () => {
23
24
for await (const line of stdout.values({ preventCancel: true })) {
25
if (line.includes("Listening on")) {
26
+ const address = Deno.build.os === "windows" ? "localhost" : "0.0.0.0";
27
assertEquals(
28
line,
- "Listening on http://0.0.0.0:8000/ (http://localhost:8000/)",
29
+ `Listening on http://${address}:8000/ (http://localhost:8000/)`,
30
);
31
break;
32
}
0 commit comments