Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
test(request): keep the pass-through test off any env proxy
Vlad Ligai52c51bee9220
diff --git a/backend/src/lib/config/request.test.ts b/backend/src/lib/config/request.test.tsindex 6d66d57523..2da18f8dc6 100644--- a/backend/src/lib/config/request.test.ts+++ b/backend/src/lib/config/request.test.ts@@ -45,7 +45,7 @@ describe("createRequestClient", () => {try {const { port } = server.address() as AddressInfo;const err = (await client- .get(`http://127.0.0.1:${port}/`, { timeout: 5000 })+ .get(`http://127.0.0.1:${port}/`, { timeout: 5000, proxy: false }).catch((e: unknown) => e)) as AxiosError;expect(err.message).toBe("Request failed with status code 500");expect(err.response?.status).toBe(500);