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: tern linter+completion entries for new env apis
Andrew Bastin774c51ef950a
diff --git a/packages/hoppscotch-app/helpers/terndoc/pw-pre.json b/packages/hoppscotch-app/helpers/terndoc/pw-pre.jsonindex a489a30c7..8a70a6c35 100644--- a/packages/hoppscotch-app/helpers/terndoc/pw-pre.json+++ b/packages/hoppscotch-app/helpers/terndoc/pw-pre.json@@ -2,7 +2,10 @@"!name": "pw-pre","pw": {"env": {- "set": "fn(key: string, value: string)"+ "set": "fn(key: string, value: string)",+ "get": "fn(key: string) -> string",+ "getResolve": "fn(key: string) -> string",+ "resolve": "fn(value: string) -> string"}}}diff --git a/packages/hoppscotch-app/helpers/terndoc/pw-test.json b/packages/hoppscotch-app/helpers/terndoc/pw-test.jsonindex 8bec91ba9..7c8616cdc 100644--- a/packages/hoppscotch-app/helpers/terndoc/pw-test.json+++ b/packages/hoppscotch-app/helpers/terndoc/pw-test.json@@ -19,6 +19,12 @@"headers": "?","body": "?"},+ "env": {+ "set": "fn(key: string, value: string)",+ "get": "fn(key: string) -> string",+ "getResolve": "fn(key: string) -> string",+ "resolve": "fn(value: string) -> string"+ },"test": "fn(name: string, func: fn())"}}