chore: bump std to 208 and deal with deprecations (#2081)

Co-authored-by: Marvin Hagemeister <marvin@deno.com>
This commit is contained in:
Reed von Redwitz
2023-11-28 16:35:26 +00:00
committed by GitHub
co-authored by Marvin Hagemeister
parent 6a90fdbf1b
commit b902205feb
20 changed files with 137 additions and 131 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ import {
withFresh,
withPageName,
} from "./test_utils.ts";
import { Status } from "../server.ts";
import { STATUS_CODE } from "../server.ts";
Deno.test({
name: "render async server component",
@@ -110,7 +110,7 @@ Deno.test({
async (server) => {
const res = await server.get(`/fail`);
assertEquals(res.status, Status.NotFound);
assertEquals(res.status, STATUS_CODE.NotFound);
const html = await res.text();
assertEquals(html, "Not found.");
},