Add comprehensive test coverage for unsupported Postman APIs and ensure
consistent error messages across pre-request and post-request contexts.
Test improvements:
- Expand coverage from 13 to 25 unsupported APIs (50 tests total)
- Add missing APIs: collectionVariables.set/unset/has/clear/toObject,
vault.set/unset, iterationData.set/unset/has/toJSON
- Fix assertions to match actual error format with prefix
- Add pre-request context test for pm.execution.location
Implementation fixes:
- Add missing pm.iterationData.toJSON() in pre-request.js
- Sync post-request.js collectionVariables error messages to match
pre-request.js ("use environment or request variables instead")
|
||
|---|---|---|
| .. | ||
| codemirror-lang-graphql | ||
| hoppscotch-agent | ||
| hoppscotch-backend | ||
| hoppscotch-cli | ||
| hoppscotch-common | ||
| hoppscotch-data | ||
| hoppscotch-desktop | ||
| hoppscotch-js-sandbox | ||
| hoppscotch-kernel | ||
| hoppscotch-relay | ||
| hoppscotch-selfhost-desktop | ||
| hoppscotch-selfhost-web | ||
| hoppscotch-sh-admin | ||