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
+3 -3
View File
@@ -1,5 +1,5 @@
import * as path from "$std/path/mod.ts";
import { Status } from "../src/server/deps.ts";
import { STATUS_CODE } from "../src/server/deps.ts";
import {
assert,
assertEquals,
@@ -110,7 +110,7 @@ Deno.test({
// Access the root page
const res = await fetch(address);
await res.body?.cancel();
assertEquals(res.status, Status.OK);
assertEquals(res.status, STATUS_CODE.OK);
// verify the island is revived.
const browser = await puppeteer.launch({
@@ -201,7 +201,7 @@ Deno.test({
// Access the root page
const res = await fetch(address);
await res.body?.cancel();
assertEquals(res.status, Status.OK);
assertEquals(res.status, STATUS_CODE.OK);
// verify the island is revived.
const browser = await puppeteer.launch({ args: ["--no-sandbox"] });