/
githubmirror
/
deno
Обзор
Документация
Войти
/
githubmirror
/
deno
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
tests/unit/internals_test.ts
15 строк
501 B
Nathan Whitaker
refactor(http): remove unused raw upgrade internals (#36528)
11 авг 2026, 20:00
Не верифицирован
11 авг 2026, 20:00
5edb1b8
Код
Авторство
О чём код?
// Copyright 2018-2026 the Deno authors. MIT license. import { assert } from "./test_util.ts"; Deno.test(function internalsExists() { const { inspectArgs, // @ts-expect-error TypeScript (as of 3.7) does not support indexing namespaces by symbol } = Deno[Deno.internal]; assert(!!inspectArgs); }); Deno.test(function upgradeHttpRawIsNotExposed() { // @ts-expect-error TypeScript does not support indexing namespaces by symbol assert(!("upgradeHttpRaw" in Deno[Deno.internal])); });