chore: bump std to 208 and deal with deprecations (#2081)
Co-authored-by: Marvin Hagemeister <marvin@deno.com>
This commit is contained in:
co-authored by
Marvin Hagemeister
parent
6a90fdbf1b
commit
b902205feb
@@ -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.");
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user