Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
fix: broken function import
liyasthomas0de9f3d8c3df
diff --git a/packages/hoppscotch-app/helpers/RequestRunner.ts b/packages/hoppscotch-app/helpers/RequestRunner.tsindex 7b6870235..0aa11181d 100644--- a/packages/hoppscotch-app/helpers/RequestRunner.ts+++ b/packages/hoppscotch-app/helpers/RequestRunner.ts@@ -5,7 +5,6 @@ import { pipe } from "fp-ts/function"import * as O from "fp-ts/Option"import { runTestScript, TestDescriptor } from "@hoppscotch/js-sandbox"import { isRight } from "fp-ts/Either"-import { isJSONContentType } from "@hoppscotch/data"import {getCombinedEnvVariables,getFinalEnvsFromPreRequest,@@ -14,6 +13,7 @@ import { getEffectiveRESTRequest } from "./utils/EffectiveURL"import { HoppRESTResponse } from "./types/HoppRESTResponse"import { createRESTNetworkRequestStream } from "./network"import { HoppTestData, HoppTestResult } from "./types/HoppTestResult"+import { isJSONContentType } from "./utils/contenttypes"import { getRESTRequest, setRESTTestResults } from "~/newstore/RESTSession"const getTestableBody = (res: HoppRESTResponse & { type: "success" }) => {