Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/chai/lib/chai/utils/isProxyEnabled.js>isProxyEnabled

BDD / TDD assertion framework for node.js and the browser that can be paired with any testing framework.
Latest
function isProxyEnabled
import { isProxyEnabled } from "https://deno.land/x/chai@v5.1.2/lib/chai/utils/isProxyEnabled.js";

.isProxyEnabled()

Helper function to check if Chai's proxy protection feature is enabled. If proxies are unsupported or disabled via the user's Chai config, then return false. Otherwise, return true.