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
Export lenses array for helping testing
Andrew Bastin1f65907f7005
diff --git a/helpers/lenses/lenses.js b/helpers/lenses/lenses.jsindex 6423bcf10..6f2cc6d71 100644--- a/helpers/lenses/lenses.js+++ b/helpers/lenses/lenses.js@@ -4,7 +4,7 @@ import imageLens from "./imageLens"import htmlLens from "./htmlLens"import xmlLens from "./xmlLens"-const lenses = [jsonLens, imageLens, htmlLens, xmlLens, rawLens]+export const lenses = [jsonLens, imageLens, htmlLens, xmlLens, rawLens]export function getSuitableLenses(response) {const result = []