Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

Remove No-Proxy test stubs from AxiosStrategy-Proxy.spec.js

Andrew Bastine0970fc69df9
diff --git a/helpers/strategies/__tests__/AxiosStrategy-Proxy.spec.js b/helpers/strategies/__tests__/AxiosStrategy-Proxy.spec.js
index b033c3cce..efce48551 100644
--- a/helpers/strategies/__tests__/AxiosStrategy-Proxy.spec.js
+++ b/helpers/strategies/__tests__/AxiosStrategy-Proxy.spec.js
@@ -152,33 +152,4 @@ describe("axiosStrategy", () => {
await expect(axiosStrategy({}, store)).rejects.toBe("errr")
})
})
-
- describe("No-Proxy Requests", () => {
- const store = {
- state: {
- postwoman: {
- settings: {
- PROXY_ENABLED: false,
- PROXY_URL: "test",
- },
- },
- },
- }
-
- test("sends request to the actual sender if proxy disabled", async () => {
- // jest.mock("axios")
- // await axiosStrategy({ url: "test" }, store)
- // expect(axiosFunc).toBeCalledWith(expect.objectContaining({
- // url: "test"
- // }))
- })
-
- test("asks axios to return data as arraybuffer", () => {})
-
- test("resolves successful requests", () => {})
-
- test("rejects cancel errors with text 'cancellation'", () => {})
-
- test("rejects non-cancellation errors as-is", () => {})
- })
})